sumit-ai-ml commited on
Commit
ac9031a
·
verified ·
1 Parent(s): 50fa507

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -43,8 +43,8 @@ def process_excel(file_obj, column_name):
43
  return image
44
 
45
  iface = gr.Interface(fn=process_excel,
46
- inputs=[gr.inputs.File(file_count=1, label="Upload Excel File"), gr.inputs.Text(label="Column Name")],
47
- outputs=gr.outputs.Image(type="numpy", label="Word Cloud"),
48
  title="Word Cloud Generator",
49
  description="Upload an Excel file and enter the column name to generate a word cloud of positive and negative words.")
50
 
 
43
  return image
44
 
45
  iface = gr.Interface(fn=process_excel,
46
+ inputs=[gr.File(file_count=1, label="Upload Excel File"), gr.Textbox(label="Column Name")],
47
+ outputs=gr.Image(type="numpy", label="Word Cloud"),
48
  title="Word Cloud Generator",
49
  description="Upload an Excel file and enter the column name to generate a word cloud of positive and negative words.")
50