Spaces:
Runtime error
Runtime error
app.py
CHANGED
@@ -1,14 +1,8 @@
|
|
1 |
-
# spaces
|
2 |
-
import
|
3 |
-
|
4 |
-
print("Installing spaces==0.30.4")
|
5 |
-
os.system("pip install spaces==0.30.4")
|
6 |
-
else:
|
7 |
-
print("spaces==0.30.4 is already installed")
|
8 |
-
|
9 |
import gradio as gr
|
10 |
import io
|
11 |
-
import os
|
12 |
from PIL import Image
|
13 |
import base64
|
14 |
from scripts.process_utils import initialize, process_image_as_base64, image_to_base64
|
|
|
1 |
+
# spaces==0.30.4をインストール
|
2 |
+
import os
|
3 |
+
os.system("pip install spaces==0.30.4")
|
|
|
|
|
|
|
|
|
|
|
4 |
import gradio as gr
|
5 |
import io
|
|
|
6 |
from PIL import Image
|
7 |
import base64
|
8 |
from scripts.process_utils import initialize, process_image_as_base64, image_to_base64
|