Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -149,18 +149,6 @@ def interface_selector(interface_lang):
|
|
| 149 |
|
| 150 |
with gr.Blocks() as demo:
|
| 151 |
gr.Markdown("## ๐ Select Interface Language")
|
| 152 |
-
with gr.Accordion("๐ View README / Usage Guide", open=False):
|
| 153 |
-
gr.Markdown("""
|
| 154 |
-
This application allows you to upload a PDF or paste text, select your preferred summary language, and receive:
|
| 155 |
-
|
| 156 |
-
- A clear summary โ๏ธ
|
| 157 |
-
- An auto-generated title ๐ท๏ธ
|
| 158 |
-
- 5 relevant keywords ๐
|
| 159 |
-
|
| 160 |
-
If the content language and summary language differ, the app will auto-translate before summarizing ๐
|
| 161 |
-
|
| 162 |
-
Powered by OpenAI GPT-3.5 and Gradio.
|
| 163 |
-
""")
|
| 164 |
lang_select = gr.Dropdown(label="Interface Language", choices=LANGUAGES, value="English")
|
| 165 |
next_btn = gr.Button("Continue")
|
| 166 |
|
|
|
|
| 149 |
|
| 150 |
with gr.Blocks() as demo:
|
| 151 |
gr.Markdown("## ๐ Select Interface Language")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 152 |
lang_select = gr.Dropdown(label="Interface Language", choices=LANGUAGES, value="English")
|
| 153 |
next_btn = gr.Button("Continue")
|
| 154 |
|