Spaces:
Runtime error
Runtime error
Create Asthma Symptom Checker
#4
by
Balrajriar
- opened
- Asthma Symptom Checker +15 -0
Asthma Symptom Checker
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
|
| 3 |
+
def chatbot(input):
|
| 4 |
+
# Asthma symptom checker logic goes here
|
| 5 |
+
return "Your response will be generated based on the input."
|
| 6 |
+
|
| 7 |
+
iface = gr.Interface(
|
| 8 |
+
fn=chatbot,
|
| 9 |
+
inputs="text",
|
| 10 |
+
outputs="text",
|
| 11 |
+
title="Asthma Symptom Checker",
|
| 12 |
+
description="Describe your symptoms or ask me a question."
|
| 13 |
+
)
|
| 14 |
+
|
| 15 |
+
iface.launch()
|