lvwerra HF staff commited on
Commit
d84d946
1 Parent(s): 10e561b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -6
app.py CHANGED
@@ -114,7 +114,14 @@ with gr.Blocks(theme=theme, analytics_enabled=False, css=css) as demo:
114
  with gr.Column(scale=3):
115
  instruction = gr.Textbox(placeholder="Enter your question here", label="Question", elem_id="q-input")
116
  with gr.Box():
117
- gr.Markdown("**Answer**")
 
 
 
 
 
 
 
118
  output = gr.Markdown(elem_id="q-output")
119
  submit = gr.Button("Generate", variant="primary")
120
  with gr.Group(elem_id="share-btn-container"):
@@ -130,11 +137,7 @@ with gr.Blocks(theme=theme, analytics_enabled=False, css=css) as demo:
130
  )
131
 
132
  with gr.Column(scale=1):
133
- do_save = gr.Checkbox(
134
- value=True,
135
- label="Store data",
136
- info="You consent to the storage of your prompt and generated text for research and development purposes."
137
- )
138
  temperature = gr.Slider(
139
  label="Temperature",
140
  value=0.9,
 
114
  with gr.Column(scale=3):
115
  instruction = gr.Textbox(placeholder="Enter your question here", label="Question", elem_id="q-input")
116
  with gr.Box():
117
+ with gr.Column(scale=6):
118
+ gr.Markdown("**Answer**")
119
+ with gr.Column(scale=1)
120
+ do_save = gr.Checkbox(
121
+ value=True,
122
+ label="Store data",
123
+ info="You consent to the storage of your prompt and generated text for research and development purposes."
124
+ )
125
  output = gr.Markdown(elem_id="q-output")
126
  submit = gr.Button("Generate", variant="primary")
127
  with gr.Group(elem_id="share-btn-container"):
 
137
  )
138
 
139
  with gr.Column(scale=1):
140
+
 
 
 
 
141
  temperature = gr.Slider(
142
  label="Temperature",
143
  value=0.9,