Pendrokar commited on
Commit
a787b00
β€’
1 Parent(s): be8a057

spacesvstabs

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -3,12 +3,12 @@ import requests
3
  from subprocess import Popen, PIPE
4
 
5
  try:
6
- # start the process without waiting for a response
7
- Popen(['python', 'server.py'], stdout=PIPE, stderr=PIPE)
8
  except:
9
  import logging
10
- logging.error(f'Could not run xVASynth.')
11
- sys.exit(0)
12
 
13
  def predict(input):
14
  model_type = 'xVAPitch'
 
3
  from subprocess import Popen, PIPE
4
 
5
  try:
6
+ # start the process without waiting for a response
7
+ Popen(['python', 'server.py'], stdout=PIPE, stderr=PIPE)
8
  except:
9
  import logging
10
+ logging.error(f'Could not run xVASynth.')
11
+ sys.exit(0)
12
 
13
  def predict(input):
14
  model_type = 'xVAPitch'