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