Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,10 @@ def greet(name):
|
|
6 |
#demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
7 |
|
8 |
#demo = gr.load(spaces="PharmaAI/private_gradio_test", inputs="text", outputs="text")
|
|
|
9 |
demo = gr.load(name="PharmaAI/private_gradio_test", hf_token="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", src="spaces")
|
10 |
|
11 |
-
if __name__ == "__main__":
|
12 |
-
demo.launch(show_api=False)
|
|
|
|
|
|
6 |
#demo = gr.Interface(fn=greet, inputs="text", outputs="text")
|
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)
|
14 |
+
|
15 |
+
demo.queue(api_open=False).launch(show_api=False)
|