Spaces:
Sleeping
Sleeping
Update snap.py
Browse files
snap.py
CHANGED
@@ -1,5 +1,9 @@
|
|
1 |
import gradio as gr
|
2 |
|
|
|
|
|
|
|
3 |
with gr.Blocks() as app:
|
4 |
chatbot=gr.Chatbot(show_label=False, show_share_button=True, show_copy_button=True, likeable=True, layout="panel", height="800px")
|
5 |
-
app.onload()
|
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
load_chat():
|
4 |
+
return [("input","output")]
|
5 |
+
|
6 |
with gr.Blocks() as app:
|
7 |
chatbot=gr.Chatbot(show_label=False, show_share_button=True, show_copy_button=True, likeable=True, layout="panel", height="800px")
|
8 |
+
app.onload(load_chat,None,chatbot)
|
9 |
+
app.launch()
|