Spaces:
Running
Running
Included another prompt example
Browse files
app.py
CHANGED
@@ -123,24 +123,30 @@ def gradio_app():
|
|
123 |
with gr.Row():
|
124 |
with gr.Column(scale=0.5):
|
125 |
gr.Examples(
|
126 |
-
label="Short prompts:",
|
127 |
examples=[
|
128 |
-
["""
|
129 |
],
|
130 |
inputs=input_,
|
131 |
outputs=output,
|
132 |
fn=submit_input,
|
133 |
)
|
134 |
gr.Examples(
|
135 |
-
label="Short prompts:",
|
136 |
examples=[
|
137 |
-
["""
|
138 |
],
|
139 |
inputs=input_,
|
140 |
outputs=output,
|
141 |
fn=submit_input,
|
142 |
)
|
143 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
144 |
demo.launch(show_api=True)
|
145 |
|
146 |
|
|
|
123 |
with gr.Row():
|
124 |
with gr.Column(scale=0.5):
|
125 |
gr.Examples(
|
|
|
126 |
examples=[
|
127 |
+
["""Què diu el decret sobre la senyalització de les begudes alcohòliques i el tabac a Catalunya?"""],
|
128 |
],
|
129 |
inputs=input_,
|
130 |
outputs=output,
|
131 |
fn=submit_input,
|
132 |
)
|
133 |
gr.Examples(
|
|
|
134 |
examples=[
|
135 |
+
["""Com es pot inscriure una persona al Registre de catalans i catalanes residents a l'exterior?"""],
|
136 |
],
|
137 |
inputs=input_,
|
138 |
outputs=output,
|
139 |
fn=submit_input,
|
140 |
)
|
141 |
+
gr.Examples(
|
142 |
+
examples=[
|
143 |
+
["""Quina és la finalitat del Servei Meterològic de Catalunya ?"""],
|
144 |
+
],
|
145 |
+
inputs=input_,
|
146 |
+
outputs=output,
|
147 |
+
fn=submit_input,
|
148 |
+
)
|
149 |
+
|
150 |
demo.launch(show_api=True)
|
151 |
|
152 |
|