Spaces:
Running
on
A10G
Running
on
A10G
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ def kickoff_worker():
|
|
| 13 |
except Exception as e:
|
| 14 |
return f"Error: {e}"
|
| 15 |
|
| 16 |
-
iface = gr.Interface(fn=kickoff_worker, inputs="text" outputs="text", live=True)
|
| 17 |
iface.launch()
|
| 18 |
print("Launching worker...")
|
| 19 |
# kickoff_worker() # kickoff the worker after launching the interface
|
|
|
|
| 13 |
except Exception as e:
|
| 14 |
return f"Error: {e}"
|
| 15 |
|
| 16 |
+
iface = gr.Interface(fn=kickoff_worker, inputs="text", outputs="text", live=True)
|
| 17 |
iface.launch()
|
| 18 |
print("Launching worker...")
|
| 19 |
# kickoff_worker() # kickoff the worker after launching the interface
|