ruffy369 commited on
Commit
1cfb6f2
·
verified ·
1 Parent(s): 1926923

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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.inputs.Textbox(label="Enter your query", placeholder="What kind of model or tag are you looking for?"),
74
- gr.inputs.Textbox(label="Task Filter (e.g., text-classification, summarization, atari)", placeholder="Enter the task"),
75
  ],
76
- outputs="text",
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
  )