Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
use_gpu = False #@param {type:"boolean"}
|
2 |
from fastapi import FastAPI
|
3 |
import json
|
|
|
1 |
+
enhanced_accessibility = True #@param {type:"boolean"}
|
2 |
+
#@markdown ---
|
3 |
+
|
4 |
+
#@markdown #### Please select your language:
|
5 |
+
lang_select = "English" #@param ["English", "Spanish"]
|
6 |
+
if lang_select == "English":
|
7 |
+
lang = "en"
|
8 |
+
elif lang_select == "Spanish":
|
9 |
+
lang = "es"
|
10 |
+
else:
|
11 |
+
raise Exception("Language not supported.")
|
12 |
+
#@markdown ---
|
13 |
+
|
14 |
use_gpu = False #@param {type:"boolean"}
|
15 |
from fastapi import FastAPI
|
16 |
import json
|