Update app.py
Browse files
app.py
CHANGED
|
@@ -84,7 +84,7 @@ with gr.Blocks() as demo:
|
|
| 84 |
textbox = gr.Textbox(lines=3, placeholder="Enter a sentence...")
|
| 85 |
analyze_btn = gr.Button("🔍 Analyze Sentiment")
|
| 86 |
output = gr.Textbox(label="Prediction")
|
| 87 |
-
download_btn = gr.File(label="Download Entered Sentences", type="
|
| 88 |
|
| 89 |
# Link functions
|
| 90 |
analyze_btn.click(
|
|
|
|
| 84 |
textbox = gr.Textbox(lines=3, placeholder="Enter a sentence...")
|
| 85 |
analyze_btn = gr.Button("🔍 Analyze Sentiment")
|
| 86 |
output = gr.Textbox(label="Prediction")
|
| 87 |
+
download_btn = gr.File(label="Download Entered Sentences", type="filepath")
|
| 88 |
|
| 89 |
# Link functions
|
| 90 |
analyze_btn.click(
|