Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -176,15 +176,13 @@ with block:
|
|
176 |
with gr.Row():
|
177 |
|
178 |
with gr.Accordion("Citation", open=False):
|
179 |
-
citation_button = gr.
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
show_copy_button=True
|
187 |
-
)
|
188 |
# citation_button = gr.Textbox(
|
189 |
# value=CITATION_BUTTON_TEXT,
|
190 |
# label=CITATION_BUTTON_LABEL,
|
|
|
176 |
with gr.Row():
|
177 |
|
178 |
with gr.Accordion("Citation", open=False):
|
179 |
+
citation_button = gr.interfaces.inputs.Textbox(
|
180 |
+
value=CITATION_BUTTON_TEXT,
|
181 |
+
label=CITATION_BUTTON_LABEL,
|
182 |
+
interactive=False,
|
183 |
+
show_copy_button=True,
|
184 |
+
elem_id="citation-button",
|
185 |
+
)
|
|
|
|
|
186 |
# citation_button = gr.Textbox(
|
187 |
# value=CITATION_BUTTON_TEXT,
|
188 |
# label=CITATION_BUTTON_LABEL,
|