Maikelborys commited on
Commit
b51ecff
·
verified ·
1 Parent(s): 861c3f5

Update Gradio_UI.py

Browse files
Files changed (1) hide show
  1. 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 = "I am a female with 45 kgs, 150 cms tall and 22 years of age. Calculate my BMR."
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 calculates the Basal Metabolism Rate (BMR). Example Prompt: ", interactive=False),
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
  )