Youssouf Traore commited on
Commit
c065cc6
·
1 Parent(s): ccb022b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -29,8 +29,8 @@ def infer(im):
29
  })
30
 
31
 
32
- print(blocks)
33
- return blocks
34
 
35
 
36
  def gpt(blocks):
@@ -53,8 +53,7 @@ def gpt(blocks):
53
  print(answer)
54
  return answer
55
 
56
- iface = gr.Interface(
57
- fn=gpt,
58
  title="Mariam - Beta",
59
  description=" La maj du siècle. ",
60
  inputs=[gr.Image(type="pil")],
 
29
  })
30
 
31
 
32
+ print(text)
33
+ return text
34
 
35
 
36
  def gpt(blocks):
 
53
  print(answer)
54
  return answer
55
 
56
+ iface = gr.Interface(infer,gpt,
 
57
  title="Mariam - Beta",
58
  description=" La maj du siècle. ",
59
  inputs=[gr.Image(type="pil")],