Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -114,10 +114,10 @@ def fetch_response(prompt, enable_web_search):
|
|
| 114 |
chatbot = gr.Interface(
|
| 115 |
fn=start_inference,
|
| 116 |
inputs=[
|
| 117 |
-
gr.
|
| 118 |
-
gr.
|
| 119 |
],
|
| 120 |
-
outputs=gr.
|
| 121 |
live=True
|
| 122 |
)
|
| 123 |
|
|
|
|
| 114 |
chatbot = gr.Interface(
|
| 115 |
fn=start_inference,
|
| 116 |
inputs=[
|
| 117 |
+
gr.Textbox(label="User Prompt", placeholder="Enter your prompt here..."),
|
| 118 |
+
gr.Checkbox(label="Enable Web Search", value=False)
|
| 119 |
],
|
| 120 |
+
outputs=gr.Textbox(label="Response", placeholder="Responses will appear here..."),
|
| 121 |
live=True
|
| 122 |
)
|
| 123 |
|