rrg92 commited on
Commit
65e404a
·
1 Parent(s): 9f415ba
Files changed (1) hide show
  1. app.py +9 -11
app.py CHANGED
@@ -56,19 +56,17 @@ with gr.Blocks(fill_height=True) as demo:
56
  print("Loading embedding model");
57
  Embedder = None #SentenceTransformer("mixedbread-ai/mxbai-embed-large-v1")
58
 
59
-
60
- GradioApp = gr.mount_gradio_app(app, demo, path="/", ssr_mode=False);
61
 
62
- # demo.launch(
63
- # share=False,
64
- # debug=False,
65
- # server_port=7860,
66
- # server_name="0.0.0.0",
67
- # allowed_paths=[]
68
- # )
69
 
70
 
71
  #uvicorn.run(GradioApp, port=7860, host="0.0.0.0")
72
-
73
- demo.launch();
74
 
 
56
  print("Loading embedding model");
57
  Embedder = None #SentenceTransformer("mixedbread-ai/mxbai-embed-large-v1")
58
 
59
+ # demo.run_startup_events()
60
+ # GradioApp = gr.mount_gradio_app(app, demo, path="/", ssr_mode=False);
61
 
62
+ demo.launch(
63
+ share=False,
64
+ debug=False,
65
+ server_port=7860,
66
+ server_name="0.0.0.0",
67
+ allowed_paths=[]
68
+ )
69
 
70
 
71
  #uvicorn.run(GradioApp, port=7860, host="0.0.0.0")
 
 
72