Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import random
|
| 3 |
|
| 4 |
-
def predict(
|
| 5 |
return random.choice(["Гаф гаф!", "Гаф"])
|
| 6 |
|
| 7 |
interface = gr.ChatInterface(predict)
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import random
|
| 3 |
|
| 4 |
+
def predict(message, history):
|
| 5 |
return random.choice(["Гаф гаф!", "Гаф"])
|
| 6 |
|
| 7 |
interface = gr.ChatInterface(predict)
|