Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import subprocess
|
| 3 |
import os
|
|
|
|
| 4 |
|
| 5 |
# def install_cuda_toolkit():
|
| 6 |
# # CUDA_TOOLKIT_URL = "https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda_11.8.0_520.61.05_linux.run"
|
|
@@ -63,7 +64,7 @@ with gr.Blocks(css=custom_css, theme=gr.themes.Soft()) as demo:
|
|
| 63 |
demo.launch(
|
| 64 |
server_name='0.0.0.0',
|
| 65 |
#server_port=7803,
|
| 66 |
-
server_port=10008,
|
| 67 |
share=True,
|
| 68 |
allowed_paths=["./data/source","./data/driving"]
|
| 69 |
)
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import subprocess
|
| 3 |
import os
|
| 4 |
+
import spaces
|
| 5 |
|
| 6 |
# def install_cuda_toolkit():
|
| 7 |
# # CUDA_TOOLKIT_URL = "https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda_11.8.0_520.61.05_linux.run"
|
|
|
|
| 64 |
demo.launch(
|
| 65 |
server_name='0.0.0.0',
|
| 66 |
#server_port=7803,
|
| 67 |
+
#server_port=10008,
|
| 68 |
share=True,
|
| 69 |
allowed_paths=["./data/source","./data/driving"]
|
| 70 |
)
|