Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import random
|
| 2 |
|
| 3 |
def random_response(message, history):
|
|
@@ -5,6 +8,8 @@ def random_response(message, history):
|
|
| 5 |
|
| 6 |
import gradio as gr
|
| 7 |
|
|
|
|
|
|
|
| 8 |
gr.ChatInterface(
|
| 9 |
fn=random_response,
|
| 10 |
type="messages"
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
print(f"Gradio version: {gr.__version__}")
|
| 3 |
+
|
| 4 |
import random
|
| 5 |
|
| 6 |
def random_response(message, history):
|
|
|
|
| 8 |
|
| 9 |
import gradio as gr
|
| 10 |
|
| 11 |
+
|
| 12 |
+
|
| 13 |
gr.ChatInterface(
|
| 14 |
fn=random_response,
|
| 15 |
type="messages"
|