Spaces:
Sleeping
Sleeping
Commit
·
c3e5a9b
1
Parent(s):
a50f59e
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,9 @@ def generate(
|
|
38 |
yield output
|
39 |
return output
|
40 |
|
41 |
-
|
|
|
|
|
42 |
mychatbot = gr.Chatbot(
|
43 |
avatar_images=["./user.png", "./botm.png"], bubble_full_width=False, show_label=False, show_copy_button=True, likeable=True,)
|
44 |
|
|
|
38 |
yield output
|
39 |
return output
|
40 |
|
41 |
+
iface = gr.Interface(fn=generate, inputs="text", outputs="text")
|
42 |
+
iface.launch()
|
43 |
+
|
44 |
mychatbot = gr.Chatbot(
|
45 |
avatar_images=["./user.png", "./botm.png"], bubble_full_width=False, show_label=False, show_copy_button=True, likeable=True,)
|
46 |
|