Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ def greet(name):
|
|
7 |
|
8 |
#demo = gr.load(spaces="PharmaAI/private_gradio_test", inputs="text", outputs="text")
|
9 |
#HIDE THIS API KEY WHEN MADE PUBLIC*****************************************************************
|
10 |
-
|
11 |
|
12 |
#if __name__ == "__main__":
|
13 |
#demo.launch(show_api=False)
|
@@ -15,5 +15,5 @@ def greet(name):
|
|
15 |
#demo.queue(api_open=False).launch(show_api=False)
|
16 |
|
17 |
|
18 |
-
demo = gr.load("gradio/question-answering", src="spaces")
|
19 |
demo.launch()
|
|
|
7 |
|
8 |
#demo = gr.load(spaces="PharmaAI/private_gradio_test", inputs="text", outputs="text")
|
9 |
#HIDE THIS API KEY WHEN MADE PUBLIC*****************************************************************
|
10 |
+
demo = gr.load(name="PharmaAI/private_gradio_test", hf_token="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", src="spaces")
|
11 |
|
12 |
#if __name__ == "__main__":
|
13 |
#demo.launch(show_api=False)
|
|
|
15 |
#demo.queue(api_open=False).launch(show_api=False)
|
16 |
|
17 |
|
18 |
+
#demo = gr.load("gradio/question-answering", src="spaces")
|
19 |
demo.launch()
|