Spaces:
Sleeping
Sleeping
Update Gradio_UI.py
Browse files- Gradio_UI.py +2 -2
Gradio_UI.py
CHANGED
@@ -295,12 +295,12 @@ class GradioUI:
|
|
295 |
return f"You said: {input_text}"
|
296 |
|
297 |
# Pre-written input text
|
298 |
-
pre_written_text = "
|
299 |
|
300 |
# Creating a Gradio chat box with example prompt
|
301 |
chat_interface = gr.Interface(
|
302 |
fn=chat_function,
|
303 |
-
inputs=gr.Textbox(value=pre_written_text, lines=3, label="This tool
|
304 |
outputs=None,
|
305 |
live=True
|
306 |
)
|
|
|
295 |
return f"You said: {input_text}"
|
296 |
|
297 |
# Pre-written input text
|
298 |
+
pre_written_text = "Paleo"
|
299 |
|
300 |
# Creating a Gradio chat box with example prompt
|
301 |
chat_interface = gr.Interface(
|
302 |
fn=chat_function,
|
303 |
+
inputs=gr.Textbox(value=pre_written_text, lines=3, label="This tool generates a brunch recipe due to diet type. Choose: vegan, keto, paleo, gluten-free, low-carb, intermittent fasting, mediterranean", interactive=False),
|
304 |
outputs=None,
|
305 |
live=True
|
306 |
)
|