Spaces:
Running
Running
antonovmaxim
commited on
Commit
•
60d0ae9
1
Parent(s):
883ac62
gradio
Browse files
script.py
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
import blocking_api
|
2 |
-
|
3 |
-
# from modules import shared
|
4 |
|
5 |
|
6 |
def setup():
|
7 |
-
blocking_api.start_server(
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
|
|
|
|
|
1 |
import blocking_api
|
2 |
+
import gradio as gr
|
|
|
3 |
|
4 |
|
5 |
def setup():
|
6 |
+
blocking_api.start_server(8000, share=True)
|
7 |
+
setup()
|
8 |
+
|
9 |
+
with gr.Blocks() as demo:
|
10 |
+
gr.Markdown('Api is working')
|
11 |
+
|
12 |
+
demo.launch()
|