hashhac commited on
Commit
8d9d85d
·
1 Parent(s): ad02a21

has intilisation now

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -222,10 +222,5 @@ if __name__ == "__main__":
222
  parser = argparse.ArgumentParser()
223
  parser.add_argument("--demo", action="store_true", help="Run Gradio demo instead of WebRTC")
224
  args = parser.parse_args()
225
-
226
- if args.demo:
227
- demo()
228
- else:
229
- # For running with FastRTC
230
- # You would need to add your FastRTC server code here
231
- pass
 
222
  parser = argparse.ArgumentParser()
223
  parser.add_argument("--demo", action="store_true", help="Run Gradio demo instead of WebRTC")
224
  args = parser.parse_args()
225
+ # would be faster with webRTC but needs to intialize the model to get it to work
226
+ demo()