kadsai commited on
Commit
8fdf87e
·
verified ·
1 Parent(s): a5df435

active url

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -447,8 +447,8 @@ def classify_complaint_api(request: ComplaintRequest):
447
 
448
  # -- Run Fast API
449
  def run_fastapi():
450
- #uvicorn.run(app_api,host="0.0.0.0",port=7860)
451
- uvicorn.run(app_api,host="0.0.0.0",port=7880)
452
 
453
  # --- Interface utilisateur Gradio
454
  with gr.Blocks(theme=gr.themes.Soft(), css=".gradio-container {background-color: #b8c2d3;}") as app:
 
447
 
448
  # -- Run Fast API
449
  def run_fastapi():
450
+ uvicorn.run(app_api,host="0.0.0.0",port=7860)
451
+ #uvicorn.run(app_api,host="0.0.0.0",port=7880)
452
 
453
  # --- Interface utilisateur Gradio
454
  with gr.Blocks(theme=gr.themes.Soft(), css=".gradio-container {background-color: #b8c2d3;}") as app: