Spaces:
Sleeping
Sleeping
Add output file
Browse files
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="
|
| 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()
|