Spaces:
Build error
Build error
Create app.py
Browse filesApp script with the bug reproduction.
app.py
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
def chatbot_response(message, history):
|
| 5 |
+
return f"Hello, you said: {message}"
|
| 6 |
+
|
| 7 |
+
demo = gr.ChatInterface(chatbot_response, title="Infinite space")
|
| 8 |
+
|
| 9 |
+
if __name__ == "__main__":
|
| 10 |
+
print(f"Gradio version: {gr.__version__}")
|
| 11 |
+
demo.launch(footer_links=[])
|