Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
skip server log
Browse files
app.py
CHANGED
@@ -8,12 +8,12 @@ import threading
|
|
8 |
from huggingface_hub import hf_hub_download
|
9 |
import gradio as gr
|
10 |
|
11 |
-
try:
|
12 |
-
|
13 |
-
except:
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
|
18 |
|
19 |
hf_model_name = "Pendrokar/xvapitch_nvidia"
|
@@ -235,9 +235,9 @@ def predict(
|
|
235 |
'em_surprise': surprise,
|
236 |
}
|
237 |
|
238 |
-
print('server.log contents:')
|
239 |
-
with open('resources/app/server.log', 'r') as f:
|
240 |
-
|
241 |
|
242 |
arpabet_html = '<h6>ARPAbet & Phoneme lengths</h6>'
|
243 |
arpabet_symbols = json_data['arpabet'].split('|')
|
|
|
8 |
from huggingface_hub import hf_hub_download
|
9 |
import gradio as gr
|
10 |
|
11 |
+
# try:
|
12 |
+
import resources.app.no_server as xvaserver
|
13 |
+
# except:
|
14 |
+
# print('server.log contents:')
|
15 |
+
# with open('resources/app/server.log', 'r') as f:
|
16 |
+
# print(f.read())
|
17 |
|
18 |
|
19 |
hf_model_name = "Pendrokar/xvapitch_nvidia"
|
|
|
235 |
'em_surprise': surprise,
|
236 |
}
|
237 |
|
238 |
+
# print('server.log contents:')
|
239 |
+
# with open('resources/app/server.log', 'r') as f:
|
240 |
+
# print(f.read())
|
241 |
|
242 |
arpabet_html = '<h6>ARPAbet & Phoneme lengths</h6>'
|
243 |
arpabet_symbols = json_data['arpabet'].split('|')
|