Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -84,7 +84,9 @@ def generate_bar_plot(selected_indices):
|
|
| 84 |
with gr.Blocks() as demo:
|
| 85 |
gr.Markdown("## 📦 Upload a ZIP of .txt files to Analyze Bigrams")
|
| 86 |
|
| 87 |
-
|
|
|
|
|
|
|
| 88 |
perplexity_input = gr.Number(label="t-SNE Perplexity", value=30)
|
| 89 |
|
| 90 |
generate_btn = gr.Button("Generate Scatter Plot")
|
|
|
|
| 84 |
with gr.Blocks() as demo:
|
| 85 |
gr.Markdown("## 📦 Upload a ZIP of .txt files to Analyze Bigrams")
|
| 86 |
|
| 87 |
+
|
| 88 |
+
zip_input = gr.File(label="Upload ZIP File of .txt Files", type="filepath") # ✅ FIXED
|
| 89 |
+
|
| 90 |
perplexity_input = gr.Number(label="t-SNE Perplexity", value=30)
|
| 91 |
|
| 92 |
generate_btn = gr.Button("Generate Scatter Plot")
|