Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,5 +6,5 @@ def convert(file):
|
|
| 6 |
obj = joblib.load(file)
|
| 7 |
return sio.dumps(obj)
|
| 8 |
|
| 9 |
-
iface = gr.Interface(fn=
|
| 10 |
iface.launch()
|
|
|
|
| 6 |
obj = joblib.load(file)
|
| 7 |
return sio.dumps(obj)
|
| 8 |
|
| 9 |
+
iface = gr.Interface(fn=convert, inputs="file", outputs="file")
|
| 10 |
iface.launch()
|