Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -112,16 +112,16 @@ with gr.Blocks(theme=theme, analytics_enabled=False, css=css) as demo:
|
|
| 112 |
)
|
| 113 |
with gr.Row():
|
| 114 |
with gr.Column(scale=3):
|
| 115 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 116 |
with gr.Box():
|
| 117 |
-
|
| 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"):
|
|
|
|
| 112 |
)
|
| 113 |
with gr.Row():
|
| 114 |
with gr.Column(scale=3):
|
| 115 |
+
with gr.Column(scale=6):
|
| 116 |
+
instruction = gr.Textbox(placeholder="Enter your question here", label="Question", elem_id="q-input")
|
| 117 |
+
with gr.Column(scale=1):
|
| 118 |
+
do_save = gr.Checkbox(
|
| 119 |
+
value=True,
|
| 120 |
+
label="Store data",
|
| 121 |
+
info="You consent to the storage of your prompt and generated text for research and development purposes."
|
| 122 |
+
)
|
| 123 |
with gr.Box():
|
| 124 |
+
gr.Markdown("**Answer**")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 125 |
output = gr.Markdown(elem_id="q-output")
|
| 126 |
submit = gr.Button("Generate", variant="primary")
|
| 127 |
with gr.Group(elem_id="share-btn-container"):
|