trttung1610 commited on
Commit
c044747
·
1 Parent(s): 761a92b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -124,12 +124,13 @@ def predict_house_area(room_id, excel_file, image_files):
124
  inputs = [
125
  gr.inputs.Textbox(label = "Mã Phòng" , type = "text"),
126
  gr.inputs.File(label="Excel File", type="file"),
127
- gr.inputs.Image(label="Images", type="file", file_count="multiple")
128
  ]
129
 
130
  outputs = [
131
  gr.outputs.Textbox(label="Sum of Predicted House Square Footage"),
132
- gr.outputs.File(label="Excel Result")
 
133
  ]
134
 
135
  interface = gr.Interface(
 
124
  inputs = [
125
  gr.inputs.Textbox(label = "Mã Phòng" , type = "text"),
126
  gr.inputs.File(label="Excel File", type="file"),
127
+ gr.inputs.File(label="Images", type="file", file_count="multiple")
128
  ]
129
 
130
  outputs = [
131
  gr.outputs.Textbox(label="Sum of Predicted House Square Footage"),
132
+ gr.outputs.File(label="Excel Result"),
133
+ gr.outputs.Image(label="Uploaded Image")
134
  ]
135
 
136
  interface = gr.Interface(