Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -64,8 +64,8 @@ def gradio_app(user_question):
|
|
| 64 |
# Launch the Gradio app
|
| 65 |
iface = gr.Interface(
|
| 66 |
fn=gradio_app,
|
| 67 |
-
inputs=gr.
|
| 68 |
-
outputs=gr.
|
| 69 |
title="Blood Donation Q&A",
|
| 70 |
description="Ask questions related to blood donation and get answers.",
|
| 71 |
)
|
|
|
|
| 64 |
# Launch the Gradio app
|
| 65 |
iface = gr.Interface(
|
| 66 |
fn=gradio_app,
|
| 67 |
+
inputs=gr.Textbox(label="Enter your question"),
|
| 68 |
+
outputs=gr.Textbox(label="Answer"),
|
| 69 |
title="Blood Donation Q&A",
|
| 70 |
description="Ask questions related to blood donation and get answers.",
|
| 71 |
)
|