Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
-
|
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,
|