joaogante HF staff commited on
Commit
b7c3808
1 Parent(s): 282bfce

different example

Browse files
Files changed (1) hide show
  1. app.py +8 -1
app.py CHANGED
@@ -77,7 +77,14 @@ if __name__ == "__main__":
77
 
78
  with gr.Row():
79
  with gr.Column():
80
- prompt = gr.Textbox(label="Prompt", lines=3, value="Translate to English: omelette du fromage")
 
 
 
 
 
 
 
81
  button = gr.Button(f"Generate with {MODEL_NAME}")
82
  with gr.Column():
83
  highlighted_text = gr.HighlightedText(
 
77
 
78
  with gr.Row():
79
  with gr.Column():
80
+ prompt = gr.Textbox(
81
+ label="Prompt",
82
+ lines=3,
83
+ value=(
84
+ "Answer the following question by reasoning step-by-step. The cafeteria had 23 apples. "
85
+ "If they used 20 for lunch and bought 6 more, how many apples do they have?"
86
+ ),
87
+ )
88
  button = gr.Button(f"Generate with {MODEL_NAME}")
89
  with gr.Column():
90
  highlighted_text = gr.HighlightedText(