Spaces:
Sleeping
Sleeping
evegarcianz
commited on
Commit
•
45d63b9
1
Parent(s):
4792934
wording in italian
Browse files
app.py
CHANGED
@@ -264,25 +264,24 @@ with gr.Blocks(css=css) as demo:
|
|
264 |
""")
|
265 |
|
266 |
|
267 |
-
question = gr.Textbox(label="
|
268 |
|
269 |
with gr.Row():
|
270 |
candidate= gr.Dropdown(
|
271 |
["Meloni", "Calenda", "Letta"], label="Candidato")
|
272 |
-
|
273 |
-
# ["Motor", "Home"], label="Product")
|
274 |
greet_btn = gr.Button("Chiedere")
|
275 |
|
276 |
-
output=[gr.Textbox(lines=3, label='Generative AI
|
277 |
#greet_btn = gr.Button("Submit")
|
278 |
greet_btn.click(fn=greet, inputs=[question,candidate,], outputs=output, api_name="greet")
|
279 |
-
gr.Markdown(
|
280 |
-
"""
|
281 |
-
#
|
282 |
-
""")
|
283 |
-
with gr.Row():
|
284 |
-
|
285 |
-
|
286 |
|
287 |
|
288 |
|
|
|
264 |
""")
|
265 |
|
266 |
|
267 |
+
question = gr.Textbox(label="Domanda")
|
268 |
|
269 |
with gr.Row():
|
270 |
candidate= gr.Dropdown(
|
271 |
["Meloni", "Calenda", "Letta"], label="Candidato")
|
272 |
+
|
|
|
273 |
greet_btn = gr.Button("Chiedere")
|
274 |
|
275 |
+
output=[gr.Textbox(lines=3, label='Generative AI risposta'), gr.Textbox(lines=3, label='Contesto utilizzato') ]
|
276 |
#greet_btn = gr.Button("Submit")
|
277 |
greet_btn.click(fn=greet, inputs=[question,candidate,], outputs=output, api_name="greet")
|
278 |
+
# gr.Markdown(
|
279 |
+
# """
|
280 |
+
# Was this answer useful?
|
281 |
+
# """)
|
282 |
+
# with gr.Row():
|
283 |
+
# feed_btn = gr.Button("Yes :)")
|
284 |
+
# feed_btn_neg = gr.Button("No :(")
|
285 |
|
286 |
|
287 |
|