Update app.py
Browse files
app.py
CHANGED
@@ -52,6 +52,7 @@ def placeholder(dummy):
|
|
52 |
t = Thread(target=warmer)
|
53 |
r = Thread(target=restart)
|
54 |
t.start()
|
|
|
55 |
|
56 |
iface = gr.Interface(fn=placeholder, inputs="text", outputs="text")
|
57 |
iface.launch()
|
|
|
52 |
t = Thread(target=warmer)
|
53 |
r = Thread(target=restart)
|
54 |
t.start()
|
55 |
+
r.start()
|
56 |
|
57 |
iface = gr.Interface(fn=placeholder, inputs="text", outputs="text")
|
58 |
iface.launch()
|