Update app.py
Browse files
app.py
CHANGED
@@ -33,7 +33,11 @@ def generate_text(prompt):
|
|
33 |
def chatbot_response(user_input):
|
34 |
return generate_text(user_input)
|
35 |
|
36 |
-
iface = gr.Interface(fn=chatbot_response,
|
37 |
-
|
|
|
|
|
|
|
|
|
38 |
|
39 |
iface.launch(share=True)
|
|
|
33 |
def chatbot_response(user_input):
|
34 |
return generate_text(user_input)
|
35 |
|
36 |
+
iface = gr.Interface(fn=chatbot_response,
|
37 |
+
inputs="text",
|
38 |
+
outputs="text",
|
39 |
+
title="Doctors-Patient Chatbot",
|
40 |
+
subtitle="Fine-Tuning GEMMA-2B for Doctor-Patient Interaction",
|
41 |
+
description="Ask me any question related to patient concerns. This model is designed for educational and informational purposes only. Please do not use it for medical diagnosis or treatment. Always consult a qualified healthcare provider for medical advice.")
|
42 |
|
43 |
iface.launch(share=True)
|