ZennyKenny commited on
Commit
4a90d66
·
verified ·
1 Parent(s): d7bd5f9

fix variable

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -297,6 +297,7 @@ def main() -> None:
297
  rg.init(
298
  api_url=os.getenv("ARGILLA_API_URL"),
299
  api_key=os.getenv("ARGILLA_API_KEY"),
 
300
  )
301
 
302
  # Fetch the data initially
@@ -390,7 +391,7 @@ def main() -> None:
390
  scheduler.start()
391
 
392
  # Launch the Gradio interface
393
- demo.launch(workspace=ARGILLA_API_URL)
394
 
395
 
396
  if __name__ == "__main__":
 
297
  rg.init(
298
  api_url=os.getenv("ARGILLA_API_URL"),
299
  api_key=os.getenv("ARGILLA_API_KEY"),
300
+ workspace=ARGILLA_API_URL
301
  )
302
 
303
  # Fetch the data initially
 
391
  scheduler.start()
392
 
393
  # Launch the Gradio interface
394
+ demo.launch()
395
 
396
 
397
  if __name__ == "__main__":