aymonc commited on
Commit
88e4f6a
·
1 Parent(s): 7e57b5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -4
app.py CHANGED
@@ -7,9 +7,13 @@ 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
- 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)
 
 
 
 
 
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)
16
+
17
+
18
+ demo = gr.load("gradio/question-answering", src="spaces")
19
+ demo.launch()