Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -113,7 +113,15 @@ def process(text_input, pdf_file, summary_lang, style, char_limit, make_quiz):
|
|
| 113 |
with gr.Blocks() as demo:
|
| 114 |
gr.Markdown("## π Multilingual Summarizer + Quiz Generator")
|
| 115 |
with gr.Accordion("π View README / Usage Guide", open=False):
|
| 116 |
-
gr.Markdown(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 117 |
|
| 118 |
with gr.Row():
|
| 119 |
summary_lang = gr.Dropdown(LANGUAGES, value="English", label="Summary Language")
|
|
|
|
| 113 |
with gr.Blocks() as demo:
|
| 114 |
gr.Markdown("## π Multilingual Summarizer + Quiz Generator")
|
| 115 |
with gr.Accordion("π View README / Usage Guide", open=False):
|
| 116 |
+
gr.Markdown('''This application allows you to upload a PDF or paste text, select your preferred summary language, and receive:
|
| 117 |
+
|
| 118 |
+
- βοΈ A clear summary
|
| 119 |
+
- π·οΈ An auto-generated title
|
| 120 |
+
- π 5 relevant keywords
|
| 121 |
+
- π If the content language and summary language differ, the app will auto-translate before summarizing
|
| 122 |
+
|
| 123 |
+
Powered by OpenAI GPT-3.5 and Gradio.
|
| 124 |
+
''')
|
| 125 |
|
| 126 |
with gr.Row():
|
| 127 |
summary_lang = gr.Dropdown(LANGUAGES, value="English", label="Summary Language")
|