Update app.py
Browse files
app.py
CHANGED
|
@@ -1,10 +1,11 @@
|
|
| 1 |
import gradio as gr
|
|
|
|
| 2 |
|
| 3 |
-
def
|
| 4 |
return message
|
| 5 |
|
| 6 |
print("Hello, world!")
|
| 7 |
|
| 8 |
-
chatbot = gr.ChatInterface(
|
| 9 |
|
| 10 |
chatbot.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
+
import random as rand
|
| 3 |
|
| 4 |
+
def answer(message):
|
| 5 |
return message
|
| 6 |
|
| 7 |
print("Hello, world!")
|
| 8 |
|
| 9 |
+
chatbot = gr.ChatInterface(answer)
|
| 10 |
|
| 11 |
chatbot.launch()
|