Spaces:
Runtime error
Runtime error
Commit
·
d5513fd
1
Parent(s):
66d2fc7
Update app.py
Browse filescorrect gradio main defect
app.py
CHANGED
|
@@ -363,9 +363,10 @@ with gr.Blocks() as demo:
|
|
| 363 |
chathmi2,
|
| 364 |
title="STLA BABY - YOUR FRIENDLY GUIDE",
|
| 365 |
description= "v0.3: Powered by MECH Core Team",
|
| 366 |
-
|
| 367 |
)
|
| 368 |
-
|
|
|
|
| 369 |
|
| 370 |
# demo = gr.Interface(
|
| 371 |
# chathmi,
|
|
|
|
| 363 |
chathmi2,
|
| 364 |
title="STLA BABY - YOUR FRIENDLY GUIDE",
|
| 365 |
description= "v0.3: Powered by MECH Core Team",
|
| 366 |
+
|
| 367 |
)
|
| 368 |
+
upload_button = gr.UploadButton("Upload File", file_count="multiple")
|
| 369 |
+
upload_button.upload(func_upload_file, [upload_button, main.chatbot], main.chatbot)
|
| 370 |
|
| 371 |
# demo = gr.Interface(
|
| 372 |
# chathmi,
|