Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -134,12 +134,12 @@ def streaming_chat(history):
|
|
134 |
|
135 |
|
136 |
# Creates A gradio Interface
|
137 |
-
with gr.Blocks() as demo:
|
138 |
Langchain = gr.Chatbot(label="Response", height=500)
|
139 |
Question = gr.Textbox(label="Question")
|
140 |
Question.submit(add_text, [Langchain, Question], [Langchain, Question]).then(
|
141 |
streaming_chat, Langchain, Langchain
|
142 |
)
|
143 |
-
demo.queue().launch(share=True,debug=True)
|
144 |
|
145 |
|
|
|
134 |
|
135 |
|
136 |
# Creates A gradio Interface
|
137 |
+
with gr.Blocks(title="Clinical Decision Support System", head="intro.html") as demo:
|
138 |
Langchain = gr.Chatbot(label="Response", height=500)
|
139 |
Question = gr.Textbox(label="Question")
|
140 |
Question.submit(add_text, [Langchain, Question], [Langchain, Question]).then(
|
141 |
streaming_chat, Langchain, Langchain
|
142 |
)
|
143 |
+
demo.queue().launch(share=True, debug=True, favicon_path ='thumbnail.jpg')
|
144 |
|
145 |
|