noorulamean444
commited on
Commit
•
6c2642c
1
Parent(s):
9d74dd4
Update app.py
Browse files
app.py
CHANGED
@@ -174,8 +174,8 @@ with gr.Blocks() as demo:
|
|
174 |
time.sleep(0.05)
|
175 |
yield output
|
176 |
# mkd = gr.Markdown('# ChatBot for Jupyter Notebook\n For more details: **link**')
|
177 |
-
file = gr.File(interactive=True)
|
178 |
-
chatbot = gr.ChatInterface(fn=chat,fill_height=
|
179 |
description="For more details: link")
|
180 |
|
181 |
demo.launch()
|
|
|
174 |
time.sleep(0.05)
|
175 |
yield output
|
176 |
# mkd = gr.Markdown('# ChatBot for Jupyter Notebook\n For more details: **link**')
|
177 |
+
file = gr.File(interactive=True,height=35)
|
178 |
+
chatbot = gr.ChatInterface(fn=chat,fill_height=False,additional_inputs=[file],stop_btn='Stop Generation',
|
179 |
description="For more details: link")
|
180 |
|
181 |
demo.launch()
|