Spaces:
Runtime error
Runtime error
File size: 556 Bytes
5ba64f1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
import os
import gradio as gr
read_key = os.environ.get('HF_TOKEN', None)
with gr.Blocks() as app:
gr.load("xnohat/ai-worker-vision-pointer", hf_token=read_key, src="spaces")
app.queue(api_open=True)#, concurrency_count=100)
app.launch(
debug=True,
#auth_message="Please login to access AI API",
#auth=["ai","enterthematrix"],
show_error=True,
share=True,
show_api=True,
#server_name='0.0.0.0',
#server_port=8310,
max_threads=100
) |