Spaces:
Sleeping
Sleeping
Commit ·
8971aa7
1
Parent(s): 732aa02
chore: update make target and ui layout
Browse files
Makefile
CHANGED
|
@@ -14,7 +14,7 @@ pre-deploy:
|
|
| 14 |
uv export --no-hashes --frozen > requirements.txt
|
| 15 |
|
| 16 |
server:
|
| 17 |
-
uv run python app.py
|
| 18 |
|
| 19 |
tox:
|
| 20 |
uv run tox run-parallel -e lint,format-check,typecheck
|
|
|
|
| 14 |
uv export --no-hashes --frozen > requirements.txt
|
| 15 |
|
| 16 |
server:
|
| 17 |
+
uv run python app.py --debug
|
| 18 |
|
| 19 |
tox:
|
| 20 |
uv run tox run-parallel -e lint,format-check,typecheck
|
app.py
CHANGED
|
@@ -307,9 +307,8 @@ def build_interface() -> gr.Blocks:
|
|
| 307 |
|
| 308 |
run_button = gr.Button("Run inference", variant="primary")
|
| 309 |
|
| 310 |
-
|
| 311 |
-
|
| 312 |
-
pruned_output = gr.Textbox(label="Pruned Context", lines=12)
|
| 313 |
|
| 314 |
run_button.click(
|
| 315 |
fn=run_inference,
|
|
|
|
| 307 |
|
| 308 |
run_button = gr.Button("Run inference", variant="primary")
|
| 309 |
|
| 310 |
+
summary_output = gr.Markdown(label="Summary")
|
| 311 |
+
pruned_output = gr.Textbox(label="Pruned Text", lines=12)
|
|
|
|
| 312 |
|
| 313 |
run_button.click(
|
| 314 |
fn=run_inference,
|