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 |
-
|
|
|
|
| 16 |
gr.Markdown("May make mistakes.")
|
| 17 |
text = gr.Textbox(label="Text Input", placeholder="Enter your text......")
|
| 18 |
submit_btn = gr.Button("Summarize")
|
|
|
|
| 12 |
return result[0]["summary_text"]
|
| 13 |
|
| 14 |
with gr.Blocks() as demo:
|
| 15 |
+
text = '##Summarize your Text by Muhammad Hassaan'
|
| 16 |
+
gr.Markdown(text)
|
| 17 |
gr.Markdown("May make mistakes.")
|
| 18 |
text = gr.Textbox(label="Text Input", placeholder="Enter your text......")
|
| 19 |
submit_btn = gr.Button("Summarize")
|