YashsharmaPhD commited on
Commit
2068142
·
verified ·
1 Parent(s): 8371075

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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
- zip_input = gr.File(label="Upload ZIP File of .txt Files", type="file")
 
 
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")