Pendrokar commited on
Commit
394bf65
β€’
1 Parent(s): 477ec86

skip server log

Browse files
Files changed (1) hide show
  1. app.py +9 -9
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
- 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,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
- print(f.read())
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('|')