zhemai28 commited on
Commit
dc45a68
·
1 Parent(s): db41676

change version

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -1,3 +1,8 @@
 
 
 
 
 
1
  import gradio as gr
2
  import torch
3
  from PIL import ImageDraw, Image, ImageFont
 
1
+ import os
2
+ os.system("pip uninstall -y gradio")
3
+ os.system("pip install gradio==4.44.1")
4
+ os.system("pip install gradio_image_prompter")
5
+
6
  import gradio as gr
7
  import torch
8
  from PIL import ImageDraw, Image, ImageFont