Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ import random
|
|
| 10 |
from gradio_client import Client, file
|
| 11 |
|
| 12 |
def generate_caption_instructblip(image_path):
|
| 13 |
-
client = Client("
|
| 14 |
return client.predict(file(image_path), api_name="/caption")
|
| 15 |
|
| 16 |
def extract_text_from_webpage(html_content):
|
|
|
|
| 10 |
from gradio_client import Client, file
|
| 11 |
|
| 12 |
def generate_caption_instructblip(image_path):
|
| 13 |
+
client = Client("hysts/image-captioning-with-blip")
|
| 14 |
return client.predict(file(image_path), api_name="/caption")
|
| 15 |
|
| 16 |
def extract_text_from_webpage(html_content):
|