Update app.py
Browse files
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/")
|