ChavinloSocialRise commited on
Commit
6f72d53
·
verified ·
1 Parent(s): 34d5b81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -3,6 +3,7 @@ import gradio as gr
3
  import requests
4
  import io
5
  import base64
 
6
  from PIL import Image
7
 
8
  url = "https://api.runpod.ai/v2/scuymosf5t8xne/runsync"
@@ -15,7 +16,7 @@ def convert(input_img, quality=85):
15
 
16
  return img_base64
17
 
18
- def send_req(input_img: Image.Image):
19
 
20
  req = {
21
  "input": {
 
3
  import requests
4
  import io
5
  import base64
6
+ import PIL
7
  from PIL import Image
8
 
9
  url = "https://api.runpod.ai/v2/scuymosf5t8xne/runsync"
 
16
 
17
  return img_base64
18
 
19
+ def send_req(input_img: PIL.Image.Image):
20
 
21
  req = {
22
  "input": {