feng2022 commited on
Commit
64ac071
1 Parent(s): 2a5cb12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -88,8 +88,8 @@ def main():
88
  log_visual_freq=1000,
89
  input='text',
90
  ))
91
- device = th.device()
92
- generator = create_generator(args, device)
93
  iface = gr.Interface(
94
  fn=predict,
95
  inputs='text',
 
88
  log_visual_freq=1000,
89
  input='text',
90
  ))
91
+ #device = th.device()
92
+ #generator = create_generator(args, device)
93
  iface = gr.Interface(
94
  fn=predict,
95
  inputs='text',