Update app.py
Browse files
app.py
CHANGED
@@ -41,11 +41,13 @@ def warmer():
|
|
41 |
print("qna response : ", text_output_2)
|
42 |
else:
|
43 |
print("DISCONNECTED")
|
44 |
-
|
45 |
except Exception as e:
|
46 |
print("NO INTERNET")
|
47 |
print(str(e))
|
48 |
|
|
|
|
|
49 |
def restart():
|
50 |
try:
|
51 |
text_output,image_output = client.predict(
|
|
|
41 |
print("qna response : ", text_output_2)
|
42 |
else:
|
43 |
print("DISCONNECTED")
|
44 |
+
|
45 |
except Exception as e:
|
46 |
print("NO INTERNET")
|
47 |
print(str(e))
|
48 |
|
49 |
+
time.sleep(300)
|
50 |
+
|
51 |
def restart():
|
52 |
try:
|
53 |
text_output,image_output = client.predict(
|