fffiloni commited on
Commit
f6bb466
1 Parent(s): d83c819

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1,5 +1,7 @@
1
  import gradio as gr
2
  from gradio_client import Client
 
 
3
 
4
  def get_caption(image_in):
5
  kosmos2_client = Client("https://ydshieh-kosmos-2.hf.space/")
 
1
  import gradio as gr
2
  from gradio_client import Client
3
+ import json
4
+ import re
5
 
6
  def get_caption(image_in):
7
  kosmos2_client = Client("https://ydshieh-kosmos-2.hf.space/")