Spaces:
Running
Running
Update app.py
Browse files
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.
|
47 |
-
outputs=gr.
|
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 |
|