Yesandu commited on
Commit
5654e11
·
1 Parent(s): 159039f

Your commit message

Browse files
Files changed (1) hide show
  1. app.py +3 -2
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; margin-top: 20px; margin-bottom: 20px; font-size: 36px;'>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,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