Spaces:
Running
Running
File size: 465 Bytes
446d2fd 544ecfa 60210e6 ea2ea09 339f3c1 ea2ea09 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import gradio as gr
import gemini_gradio
def fake(message, history):
if message.strip():
return gr.Audio("https://github.com/gradio-app/gradio/raw/main/test/test_files/audio_sample.wav")
else:
return "Please provide the name of an artist"
gr.ChatInterface(
fake,
textbox=gr.Textbox(placeholder="Which artist's music do you want to listen to?", scale=7),
chatbot=gr.Chatbot(placeholder="Play music by any artist!"),
).launch()
|