Update app.py
Browse files
app.py
CHANGED
|
@@ -99,8 +99,6 @@ class ChatWrapper:
|
|
| 99 |
self.lock.release()
|
| 100 |
return history, history
|
| 101 |
|
| 102 |
-
chat = ChatWrapper()
|
| 103 |
-
|
| 104 |
block = gr.Blocks(css=".gradio-container {background-color: lightgray}")
|
| 105 |
|
| 106 |
with block:
|
|
@@ -117,6 +115,9 @@ with block:
|
|
| 117 |
|
| 118 |
chatbot = gr.Chatbot()
|
| 119 |
|
|
|
|
|
|
|
|
|
|
| 120 |
with gr.Row():
|
| 121 |
message = gr.Textbox(
|
| 122 |
label="What's your question?",
|
|
|
|
| 99 |
self.lock.release()
|
| 100 |
return history, history
|
| 101 |
|
|
|
|
|
|
|
| 102 |
block = gr.Blocks(css=".gradio-container {background-color: lightgray}")
|
| 103 |
|
| 104 |
with block:
|
|
|
|
| 115 |
|
| 116 |
chatbot = gr.Chatbot()
|
| 117 |
|
| 118 |
+
chat = ChatWrapper()
|
| 119 |
+
|
| 120 |
+
|
| 121 |
with gr.Row():
|
| 122 |
message = gr.Textbox(
|
| 123 |
label="What's your question?",
|