Update app.py
Browse files
app.py
CHANGED
|
@@ -70,10 +70,10 @@ def chatbot_interface(user_query, task_filter):
|
|
| 70 |
interface = gr.Interface(
|
| 71 |
fn=chatbot_interface,
|
| 72 |
inputs=[
|
| 73 |
-
gr.
|
| 74 |
-
gr.
|
| 75 |
],
|
| 76 |
-
outputs=
|
| 77 |
title="Hugging Face Model Recommendation Chatbot",
|
| 78 |
description="This chatbot recommends models from Hugging Face based on your query."
|
| 79 |
)
|
|
|
|
| 70 |
interface = gr.Interface(
|
| 71 |
fn=chatbot_interface,
|
| 72 |
inputs=[
|
| 73 |
+
gr.Textbox(label="Enter your query", placeholder="What kind of model are you looking for?"),
|
| 74 |
+
gr.Textbox(label="Task Filter (e.g., text-classification)", placeholder="Enter the task"),
|
| 75 |
],
|
| 76 |
+
outputs=gr.Textbox(),
|
| 77 |
title="Hugging Face Model Recommendation Chatbot",
|
| 78 |
description="This chatbot recommends models from Hugging Face based on your query."
|
| 79 |
)
|