Spaces:
Runtime error
Runtime error
Upload 2 files
Browse files
app.py
CHANGED
|
@@ -158,7 +158,7 @@ def predict(message: str, history: List[List[str]], about_me: str) -> str:
|
|
| 158 |
yield bot.answer(**generate_kwargs)
|
| 159 |
|
| 160 |
|
| 161 |
-
demo = gr.ChatInterface
|
| 162 |
predict,
|
| 163 |
textbox=gr.Textbox(
|
| 164 |
placeholder="Ask me a financial question",
|
|
@@ -198,4 +198,4 @@ demo = gr.ChatInterface.load(
|
|
| 198 |
|
| 199 |
|
| 200 |
if __name__ == "__main__":
|
| 201 |
-
demo.queue().launch()
|
|
|
|
| 158 |
yield bot.answer(**generate_kwargs)
|
| 159 |
|
| 160 |
|
| 161 |
+
demo = gr.ChatInterface(
|
| 162 |
predict,
|
| 163 |
textbox=gr.Textbox(
|
| 164 |
placeholder="Ask me a financial question",
|
|
|
|
| 198 |
|
| 199 |
|
| 200 |
if __name__ == "__main__":
|
| 201 |
+
demo.load().queue().launch()
|