UCMe commited on
Commit
abc4f4b
·
1 Parent(s): 111d3c1

Add output file

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,7 +8,7 @@ def greet(name):
8
  if(df['customer'].iloc[i] == int(name)) :
9
  a = df['most_likely to buy'].iloc[i]
10
  return a
11
-
12
 
13
- iface = gr.Interface(fn=greet, inputs="text", outputs="text")
14
  iface.launch()
 
8
  if(df['customer'].iloc[i] == int(name)) :
9
  a = df['most_likely to buy'].iloc[i]
10
  return a
11
+ return a
12
 
13
+ iface = gr.Interface(fn=greet, inputs="number", outputs="text")
14
  iface.launch()