Spaces:
Sleeping
Sleeping
Updated code to latest gradio
Browse files
app.py
CHANGED
|
@@ -335,7 +335,7 @@ def create_interface():
|
|
| 335 |
label="📄 Texto Extraído",
|
| 336 |
lines=20,
|
| 337 |
max_lines=20,
|
| 338 |
-
|
| 339 |
interactive=False
|
| 340 |
)
|
| 341 |
|
|
@@ -344,16 +344,14 @@ def create_interface():
|
|
| 344 |
llm_references_output = gr.Dataframe(
|
| 345 |
label="🤖 Referências Extraídas por IA",
|
| 346 |
row_count=(10,'dynamic'),
|
| 347 |
-
|
| 348 |
-
show_fullscreen_button=True,
|
| 349 |
wrap=True
|
| 350 |
)
|
| 351 |
with gr.Column():
|
| 352 |
regex_references_output = gr.Dataframe(
|
| 353 |
label="🔍 Referências Extraídas por Regex",
|
| 354 |
row_count=(10,'dynamic'),
|
| 355 |
-
|
| 356 |
-
show_fullscreen_button=True,
|
| 357 |
wrap=True
|
| 358 |
)
|
| 359 |
|
|
|
|
| 335 |
label="📄 Texto Extraído",
|
| 336 |
lines=20,
|
| 337 |
max_lines=20,
|
| 338 |
+
buttons=['copy'],
|
| 339 |
interactive=False
|
| 340 |
)
|
| 341 |
|
|
|
|
| 344 |
llm_references_output = gr.Dataframe(
|
| 345 |
label="🤖 Referências Extraídas por IA",
|
| 346 |
row_count=(10,'dynamic'),
|
| 347 |
+
buttons=['copy', 'fullscreen'],
|
|
|
|
| 348 |
wrap=True
|
| 349 |
)
|
| 350 |
with gr.Column():
|
| 351 |
regex_references_output = gr.Dataframe(
|
| 352 |
label="🔍 Referências Extraídas por Regex",
|
| 353 |
row_count=(10,'dynamic'),
|
| 354 |
+
buttons=['copy', 'fullscreen'],
|
|
|
|
| 355 |
wrap=True
|
| 356 |
)
|
| 357 |
|