Spaces:
Paused
Paused
Commit
·
8cad9d2
1
Parent(s):
89ea3f0
Remove unnecessary input parameter from gr.Interface constructor
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ def restart():
|
|
| 18 |
restart_space("davanstrien/restart", token=HF_TOKEN)
|
| 19 |
|
| 20 |
|
| 21 |
-
iface = gr.Interface(fn=show_time,
|
| 22 |
iface.launch()
|
| 23 |
|
| 24 |
scheduler = BackgroundScheduler()
|
|
|
|
| 18 |
restart_space("davanstrien/restart", token=HF_TOKEN)
|
| 19 |
|
| 20 |
|
| 21 |
+
iface = gr.Interface(fn=show_time, outputs="text")
|
| 22 |
iface.launch()
|
| 23 |
|
| 24 |
scheduler = BackgroundScheduler()
|