Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,8 +9,9 @@ import json
|
|
9 |
from shapely.geometry.polygon import Polygon
|
10 |
from shapely.affinity import scale
|
11 |
from PIL import Image, ImageDraw, ImageOps, ImageFilter, ImageFont, ImageColor
|
12 |
-
|
13 |
-
os.system('pip3 install gradio==
|
|
|
14 |
import gradio as gr
|
15 |
|
16 |
from transformers import AutoTokenizer, AutoConfig, AutoModelForCausalLM
|
|
|
9 |
from shapely.geometry.polygon import Polygon
|
10 |
from shapely.affinity import scale
|
11 |
from PIL import Image, ImageDraw, ImageOps, ImageFilter, ImageFont, ImageColor
|
12 |
+
#2.7.5
|
13 |
+
os.system('pip3 install gradio==2.7.5')
|
14 |
+
#os.system('pip3 install gradio==3.14.0')
|
15 |
import gradio as gr
|
16 |
|
17 |
from transformers import AutoTokenizer, AutoConfig, AutoModelForCausalLM
|