Youssouf Traore
commited on
Commit
·
f7d6ced
1
Parent(s):
18156c6
Update app.py
Browse files
app.py
CHANGED
@@ -28,6 +28,8 @@ def infer(im):
|
|
28 |
"rect": poly["dimensions"]
|
29 |
})
|
30 |
|
|
|
|
|
31 |
|
32 |
def gpt(text):
|
33 |
if not text:
|
@@ -47,7 +49,7 @@ def gpt(text):
|
|
47 |
return answer
|
48 |
|
49 |
iface = gr.Interface(
|
50 |
-
fn=
|
51 |
title="Mariam - Beta",
|
52 |
description=" La maj du siècle. ",
|
53 |
inputs=[gr.Image(type="pil")],
|
|
|
28 |
"rect": poly["dimensions"]
|
29 |
})
|
30 |
|
31 |
+
return text
|
32 |
+
|
33 |
|
34 |
def gpt(text):
|
35 |
if not text:
|
|
|
49 |
return answer
|
50 |
|
51 |
iface = gr.Interface(
|
52 |
+
fn=gpt,
|
53 |
title="Mariam - Beta",
|
54 |
description=" La maj du siècle. ",
|
55 |
inputs=[gr.Image(type="pil")],
|