Your commit message
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def predict(symptom_text, chat_history=[]):
|
|
50 |
|
51 |
# Gradio UI
|
52 |
with gr.Blocks() as interface:
|
53 |
-
gr.Markdown("<h1 style='text-align: center;
|
54 |
chatbot = gr.Chatbot()
|
55 |
input_box = gr.Textbox(show_label=False, placeholder="Describe your symptoms here...")
|
56 |
send_button = gr.Button("Send")
|
@@ -59,4 +59,5 @@ with gr.Blocks() as interface:
|
|
59 |
send_button.click(predict, [input_box, chatbot], [chatbot, input_box])
|
60 |
|
61 |
if __name__ == "__main__":
|
62 |
-
interface.launch(share=True)
|
|
|
|
50 |
|
51 |
# Gradio UI
|
52 |
with gr.Blocks() as interface:
|
53 |
+
gr.Markdown("<h1 style='text-align: center; font-size: 40px; margin-top: 30px; margin-bottom: 30px;'>Medi Mind - Your AI Health Assistant</h1>")
|
54 |
chatbot = gr.Chatbot()
|
55 |
input_box = gr.Textbox(show_label=False, placeholder="Describe your symptoms here...")
|
56 |
send_button = gr.Button("Send")
|
|
|
59 |
send_button.click(predict, [input_box, chatbot], [chatbot, input_box])
|
60 |
|
61 |
if __name__ == "__main__":
|
62 |
+
interface.launch(share=True, server_name="0.0.0.0", server_port=7860, debug=True)
|
63 |
+
h
|