Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ def auto_eval():
|
|
| 26 |
return ex["article"][:800] + "…", report # return truncated article & eval report
|
| 27 |
|
| 28 |
with gr.Blocks(title="Text Summarizer") as demo:
|
| 29 |
-
gr.Markdown("# 📚 Text Summarizer \nPaste text and click **Summarize** or run quick **Evaluate**.")
|
| 30 |
|
| 31 |
inp = gr.Textbox(label="Input Text", lines=14, placeholder="👉 Paste here…")
|
| 32 |
outp = gr.Textbox(label="Summary / Eval", lines=12)
|
|
|
|
| 26 |
return ex["article"][:800] + "…", report # return truncated article & eval report
|
| 27 |
|
| 28 |
with gr.Blocks(title="Text Summarizer") as demo:
|
| 29 |
+
gr.Markdown("# 📚 Text Summarizer By Gabriel Engel \nPaste text and click **Summarize** or run quick **Evaluate**.")
|
| 30 |
|
| 31 |
inp = gr.Textbox(label="Input Text", lines=14, placeholder="👉 Paste here…")
|
| 32 |
outp = gr.Textbox(label="Summary / Eval", lines=12)
|