Update app.py
Browse files
app.py
CHANGED
|
@@ -96,6 +96,7 @@ def segment(image,text):
|
|
| 96 |
print(image)
|
| 97 |
image_url = image
|
| 98 |
text = chToEnglish(text)
|
|
|
|
| 99 |
return enToChinese(agent(f"{text}:\n{image_url}").get('output'))
|
| 100 |
|
| 101 |
demo = gr.Interface(
|
|
|
|
| 96 |
print(image)
|
| 97 |
image_url = image
|
| 98 |
text = chToEnglish(text)
|
| 99 |
+
print(text)
|
| 100 |
return enToChinese(agent(f"{text}:\n{image_url}").get('output'))
|
| 101 |
|
| 102 |
demo = gr.Interface(
|