Update app.py
Browse files
app.py
CHANGED
@@ -23,8 +23,11 @@ def warmer():
|
|
23 |
print("NO INTERNET")
|
24 |
print(str(e))
|
25 |
|
26 |
-
def
|
27 |
-
|
|
|
|
|
|
|
28 |
|
29 |
-
iface = gr.Interface(fn=
|
30 |
iface.launch()
|
|
|
23 |
print("NO INTERNET")
|
24 |
print(str(e))
|
25 |
|
26 |
+
def placeholder(dummy):
|
27 |
+
return "lol"
|
28 |
+
|
29 |
+
t = Thread(target=warmer)
|
30 |
+
t.start()
|
31 |
|
32 |
+
iface = gr.Interface(fn=placeholder, inputs="text", outputs="text")
|
33 |
iface.launch()
|