tanish78 commited on
Commit
6297693
·
verified ·
1 Parent(s): 9d114a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -173,10 +173,10 @@ def main(file, num_clusters):
173
  interface = gr.Interface(
174
  fn=main,
175
  inputs=[
176
- gr.inputs.File(label="Upload Excel File (.xlsx)", type='file'),
177
- gr.inputs.Number(default=5, label="Number of Clusters")
178
  ],
179
- outputs=gr.outputs.Dataframe(label="Clustered Data"),
180
  title="Unanswered User Queries Clustering",
181
  description="Upload an Excel file (.xlsx) containing user queries, and the algorithm will automatically cluster the queries into different categories."
182
  )
 
173
  interface = gr.Interface(
174
  fn=main,
175
  inputs=[
176
+ gr.File(label="Upload Excel File (.xlsx)"),
177
+ gr.Number(value=5, label="Number of Clusters")
178
  ],
179
+ outputs=gr.Dataframe(label="Clustered Data"),
180
  title="Unanswered User Queries Clustering",
181
  description="Upload an Excel file (.xlsx) containing user queries, and the algorithm will automatically cluster the queries into different categories."
182
  )