rdlf commited on
Commit
61a4967
·
verified ·
1 Parent(s): 4903b48

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -24,6 +24,10 @@ def eval_text (text):
24
 
25
  return (chat_completion.choices[0].message.content)
26
 
27
- demo = gr.Interface(fn=eval_text, inputs="text", outputs="text", title="plAIn")
 
 
 
 
28
 
29
  demo.launch()
 
24
 
25
  return (chat_completion.choices[0].message.content)
26
 
27
+ custom_image_url = "https://www.traductores.org.ar/wp-content/uploads/2021/09/CalamoCran_logo-web-.jpg"
28
+
29
+ custom_image = gr.Image(custom_image_url)
30
+
31
+ demo = gr.Interface(fn=eval_text, inputs="text", outputs="text", title="plAIn", image=custom_image)
32
 
33
  demo.launch()