Adarsh-Saurabh commited on
Commit
9383c1f
·
1 Parent(s): c11c623

Sync with main branch - updated UI and requirements

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -9,8 +9,9 @@ from typing import Any
9
  import gradio as gr
10
 
11
 
12
- USE_LIVE_BACKEND = os.getenv("USE_LIVE_BACKEND", "false").lower() == "true"
13
- AMD_ENDPOINT = os.getenv("AMD_ENDPOINT", "http://localhost:8000/extract")
 
14
  UPLAN_API_KEY = os.getenv("UPLAN_API_KEY", "")
15
  SAMPLE_PATH = Path(__file__).parent / "sample_outputs" / "demo_result.json"
16
  DEMO_RESULT = json.loads(SAMPLE_PATH.read_text(encoding="utf-8")) if SAMPLE_PATH.exists() else {}
 
9
  import gradio as gr
10
 
11
 
12
+ # USE_LIVE_BACKEND = os.getenv("USE_LIVE_BACKEND", "false").lower() == "true"
13
+ USE_LIVE_BACKEND = True
14
+ AMD_ENDPOINT = os.getenv("AMD_ENDPOINT", "http://165.245.142.235:8000")
15
  UPLAN_API_KEY = os.getenv("UPLAN_API_KEY", "")
16
  SAMPLE_PATH = Path(__file__).parent / "sample_outputs" / "demo_result.json"
17
  DEMO_RESULT = json.loads(SAMPLE_PATH.read_text(encoding="utf-8")) if SAMPLE_PATH.exists() else {}