Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -112,7 +112,7 @@ with gr.Blocks() as demo:
|
|
112 |
upload_button = gr.UploadButton("Click to Upload a File", file_types=["file"], file_count="multiple")
|
113 |
upload_button.upload(upload_file, upload_button)
|
114 |
chatbot = gr.Chatbot(height=500)
|
115 |
-
gr.ChatInterface(fn = predict, fill_height=True, fill_width=True, chatbot=chatbot)
|
116 |
|
117 |
demo.launch(debug=True)
|
118 |
|
|
|
112 |
upload_button = gr.UploadButton("Click to Upload a File", file_types=["file"], file_count="multiple")
|
113 |
upload_button.upload(upload_file, upload_button)
|
114 |
chatbot = gr.Chatbot(height=500)
|
115 |
+
gr.ChatInterface(fn = predict,chatbot=chatbot)#, fill_height=True, fill_width=True, chatbot=chatbot)
|
116 |
|
117 |
demo.launch(debug=True)
|
118 |
|