Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ story_tokenizer = AutoTokenizer.from_pretrained("pranavpsv/genre-story-generator
|
|
13 |
story_model = AutoModelForCausalLM.from_pretrained("pranavpsv/genre-story-generator-v2")
|
14 |
|
15 |
# Load the CSV file into a dataframe
|
16 |
-
labels_df = pd.read_csv("
|
17 |
|
18 |
def image_to_text_from_url(image_url):
|
19 |
"""
|
|
|
13 |
story_model = AutoModelForCausalLM.from_pretrained("pranavpsv/genre-story-generator-v2")
|
14 |
|
15 |
# Load the CSV file into a dataframe
|
16 |
+
labels_df = pd.read_csv("labels_to_image_urls.csv") # Make sure to update this path
|
17 |
|
18 |
def image_to_text_from_url(image_url):
|
19 |
"""
|