Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,8 @@ def summarize_text(text):
|
|
| 12 |
return result[0]["summary_text"]
|
| 13 |
|
| 14 |
with gr.Blocks() as demo:
|
| 15 |
-
gr.Markdown("
|
|
|
|
| 16 |
text = gr.Textbox(label="Text Input", placeholder="Enter your text......")
|
| 17 |
submit_btn = gr.Button("Summarize")
|
| 18 |
summary = gr.Textbox(label="Summary")
|
|
|
|
| 12 |
return result[0]["summary_text"]
|
| 13 |
|
| 14 |
with gr.Blocks() as demo:
|
| 15 |
+
gr.Markdown("##Summarize your Text by Muhammad Hassaan")
|
| 16 |
+
gr.Markdown("May make mistakes.")
|
| 17 |
text = gr.Textbox(label="Text Input", placeholder="Enter your text......")
|
| 18 |
submit_btn = gr.Button("Summarize")
|
| 19 |
summary = gr.Textbox(label="Summary")
|