Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ def ask_question():
|
|
| 32 |
|
| 33 |
@app.route('/get_video')
|
| 34 |
def get_video():
|
| 35 |
-
|
| 36 |
with open("/tmp/answer.txt", "r", encoding='utf-8') as f:
|
| 37 |
answer = f.read()
|
| 38 |
|
|
|
|
| 32 |
|
| 33 |
@app.route('/get_video')
|
| 34 |
def get_video():
|
| 35 |
+
try:
|
| 36 |
with open("/tmp/answer.txt", "r", encoding='utf-8') as f:
|
| 37 |
answer = f.read()
|
| 38 |
|