Spaces:
Runtime error
Runtime error
Update app_t.py
Browse files
app_t.py
CHANGED
@@ -1,3 +1,14 @@
|
|
1 |
import zipfile
|
2 |
with zipfile.ZipFile("https://huggingface.co/spaces/nightfury/SD-InPainting/blob/main/clipseg-master.zip", 'r') as zip_ref:
|
3 |
-
zip_ref.extractall("home/user/app/")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import zipfile
|
2 |
with zipfile.ZipFile("https://huggingface.co/spaces/nightfury/SD-InPainting/blob/main/clipseg-master.zip", 'r') as zip_ref:
|
3 |
+
zip_ref.extractall("home/user/app/")
|
4 |
+
|
5 |
+
import gradio as gr
|
6 |
+
|
7 |
+
download_and_extract_zip_file()
|
8 |
+
clone_github_repository()
|
9 |
+
|
10 |
+
with gr.Blocks() as demo:
|
11 |
+
...application code goes here ...
|
12 |
+
|
13 |
+
|
14 |
+
demo.launch()
|