ZennyKenny commited on
Commit
d7bd5f9
·
verified ·
1 Parent(s): 09bb848

commit Argilla URL

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -29,6 +29,7 @@ To create a new dashboard, you need several environment variables, that you can
29
 
30
  # Get env variable
31
  HF_TOKEN = os.getenv("HF_TOKEN")
 
32
 
33
  # Translation of legends and titles
34
  ANNOTATED = 'Аннотации'
@@ -389,7 +390,7 @@ def main() -> None:
389
  scheduler.start()
390
 
391
  # Launch the Gradio interface
392
- demo.launch()
393
 
394
 
395
  if __name__ == "__main__":
 
29
 
30
  # Get env variable
31
  HF_TOKEN = os.getenv("HF_TOKEN")
32
+ ARGILLA_API_URL = os.getenv("ARGILLA_API_URL")
33
 
34
  # Translation of legends and titles
35
  ANNOTATED = 'Аннотации'
 
390
  scheduler.start()
391
 
392
  # Launch the Gradio interface
393
+ demo.launch(workspace=ARGILLA_API_URL)
394
 
395
 
396
  if __name__ == "__main__":