chap0lin commited on
Commit
ccaa6ce
1 Parent(s): 90d49d4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ def greet(name):
9
  df = pd.DataFrame(boxes, columns= ['Color','Shape','Price'])
10
  df.to_excel("output.xlsx")
11
 
12
- return gr.File("output.xlsx")
13
 
14
  iface = gr.Interface(fn=greet, inputs="text", outputs="file")
15
  iface.launch()
 
9
  df = pd.DataFrame(boxes, columns= ['Color','Shape','Price'])
10
  df.to_excel("output.xlsx")
11
 
12
+ return "output.xlsx"
13
 
14
  iface = gr.Interface(fn=greet, inputs="text", outputs="file")
15
  iface.launch()