Spaces:
Runtime error
Runtime error
commit Argilla URL
Browse files
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__":
|