Spaces:
Runtime error
Runtime error
Upload factchecking_front.py
Browse files- factchecking_front.py +2 -1
factchecking_front.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
from gradio_client import Client
|
|
|
3 |
|
4 |
client = Client("Iker/FactChecking-Backend")
|
5 |
|
@@ -97,4 +98,4 @@ if __name__ == "__main__":
|
|
97 |
)
|
98 |
|
99 |
demo.queue(default_concurrency_limit=1)
|
100 |
-
demo.launch()
|
|
|
1 |
import gradio as gr
|
2 |
from gradio_client import Client
|
3 |
+
import os
|
4 |
|
5 |
client = Client("Iker/FactChecking-Backend")
|
6 |
|
|
|
98 |
)
|
99 |
|
100 |
demo.queue(default_concurrency_limit=1)
|
101 |
+
demo.launch(auth=(os.getenv("GRADIO_USERNAME"), os.getenv("GRADIO_PASSWORD")))
|