Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -208,13 +208,13 @@ def analyze_file(file, sentence):
|
|
208 |
return excel_file_path, pie_chart_name, None
|
209 |
|
210 |
inputs = [
|
211 |
-
gr.
|
212 |
-
gr.
|
213 |
]
|
214 |
outputs = [
|
215 |
-
gr.
|
216 |
-
gr.
|
217 |
-
gr.
|
218 |
]
|
219 |
|
220 |
interface = gr.Interface(
|
|
|
208 |
return excel_file_path, pie_chart_name, None
|
209 |
|
210 |
inputs = [
|
211 |
+
gr.File(label="Chọn Tệp Bạn Muốn Phân Tích"),
|
212 |
+
gr.Textbox(label="Nhập Văn Bản")
|
213 |
]
|
214 |
outputs = [
|
215 |
+
gr.File(label="Kết Quả Phân Tích Excel"),
|
216 |
+
gr.Image(type="filepath", label="Thông Số Phân Tích"),
|
217 |
+
gr.Textbox(label="Kết Quả Phân Tích")
|
218 |
]
|
219 |
|
220 |
interface = gr.Interface(
|