Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -45,7 +45,7 @@ def generate_answer_fuyu(image_path, question):
|
|
| 45 |
|
| 46 |
def generate_caption_kosmos(image_path, caption_bool):
|
| 47 |
|
| 48 |
-
client = Client("https://merve-kosmos2.hf.space/--replicas/
|
| 49 |
try:
|
| 50 |
if caption_bool:
|
| 51 |
caption = "Detailed"
|
|
@@ -64,7 +64,7 @@ def generate_answer_kosmos(image_path, question):
|
|
| 64 |
try:
|
| 65 |
from gradio_client import Client
|
| 66 |
|
| 67 |
-
client = Client("https://merve-kosmos2.hf.space/--replicas/
|
| 68 |
result = client.predict(
|
| 69 |
image_path,
|
| 70 |
None,
|
|
|
|
| 45 |
|
| 46 |
def generate_caption_kosmos(image_path, caption_bool):
|
| 47 |
|
| 48 |
+
client = Client("https://merve-kosmos2.hf.space/--replicas/osmo8/")
|
| 49 |
try:
|
| 50 |
if caption_bool:
|
| 51 |
caption = "Detailed"
|
|
|
|
| 64 |
try:
|
| 65 |
from gradio_client import Client
|
| 66 |
|
| 67 |
+
client = Client("https://merve-kosmos2.hf.space/--replicas/osmo8/")
|
| 68 |
result = client.predict(
|
| 69 |
image_path,
|
| 70 |
None,
|