Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -79,12 +79,10 @@ def respond(
|
|
79 |
yield response
|
80 |
|
81 |
# Gradio interface
|
82 |
-
demo = gr.Blocks()
|
83 |
|
84 |
-
|
85 |
-
gr.Markdown("# DIAGNIFY ๐๏ธ")
|
86 |
|
87 |
-
|
88 |
respond,
|
89 |
additional_inputs=[
|
90 |
gr.Textbox(
|
@@ -110,7 +108,7 @@ with demo:
|
|
110 |
["Can you guide me through quick health tips?"],
|
111 |
["How do I stop worrying about things I can't control?"],
|
112 |
],
|
113 |
-
title=
|
114 |
)
|
115 |
|
116 |
if __name__ == "__main__":
|
|
|
79 |
yield response
|
80 |
|
81 |
# Gradio interface
|
|
|
82 |
|
83 |
+
|
|
|
84 |
|
85 |
+
demo = gr.ChatInterface(
|
86 |
respond,
|
87 |
additional_inputs=[
|
88 |
gr.Textbox(
|
|
|
108 |
["Can you guide me through quick health tips?"],
|
109 |
["How do I stop worrying about things I can't control?"],
|
110 |
],
|
111 |
+
title = 'Diagnify ๐๏ธ',
|
112 |
)
|
113 |
|
114 |
if __name__ == "__main__":
|