Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -230,25 +230,6 @@ with gr.Blocks() as gr_interface:
|
|
230 |
value=""
|
231 |
)
|
232 |
|
233 |
-
# rating block
|
234 |
-
with gr.Row():
|
235 |
-
gr.Markdown("この応答に対するあなたの評価は?")
|
236 |
-
|
237 |
-
with gr.Box():
|
238 |
-
with gr.Row():
|
239 |
-
rating_options = [
|
240 |
-
"最悪",
|
241 |
-
"不合格",
|
242 |
-
"中立",
|
243 |
-
"合格",
|
244 |
-
"最高",
|
245 |
-
]
|
246 |
-
btn_ratings = [gr.Button(value=v) for v in rating_options]
|
247 |
-
|
248 |
-
# TODO: we might not need this for sharing with close groups
|
249 |
-
# with gr.Box():
|
250 |
-
# gr.Markdown("TODO:For more feedback link for google form")
|
251 |
-
|
252 |
# event handling
|
253 |
inputs = [textbox_prompt] + gr_params
|
254 |
click_event = btn_submit.click(generate, inputs, textbox_generation, queue=True)
|
|
|
230 |
value=""
|
231 |
)
|
232 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
233 |
# event handling
|
234 |
inputs = [textbox_prompt] + gr_params
|
235 |
click_event = btn_submit.click(generate, inputs, textbox_generation, queue=True)
|