Spaces:
Running
on
A10G
Running
on
A10G
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
import gradio as gr
|
2 |
-
from worker import worker # import the worker function
|
3 |
import subprocess
|
4 |
import shlex
|
5 |
subprocess.run(shlex.split('pip install wheel/torchmcubes-0.1.0-cp310-cp310-linux_x86_64.whl'))
|
@@ -8,6 +7,7 @@ def greet(name):
|
|
8 |
return "Hello " + name + "!!"
|
9 |
|
10 |
def kickoff_worker():
|
|
|
11 |
worker() # call the worker function
|
12 |
|
13 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
|
|
1 |
import gradio as gr
|
|
|
2 |
import subprocess
|
3 |
import shlex
|
4 |
subprocess.run(shlex.split('pip install wheel/torchmcubes-0.1.0-cp310-cp310-linux_x86_64.whl'))
|
|
|
7 |
return "Hello " + name + "!!"
|
8 |
|
9 |
def kickoff_worker():
|
10 |
+
from worker import worker # import the worker function
|
11 |
worker() # call the worker function
|
12 |
|
13 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|