Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -103,7 +103,7 @@ if view == "Artwork Explorer":
|
|
103 |
else:
|
104 |
prompt_flan = f"Write a short description of this artwork:"
|
105 |
|
106 |
-
{prompt}"
|
107 |
result = describer(prompt_flan, max_length=100, truncation=True)[0]["generated_text"]
|
108 |
return result.strip()
|
109 |
except Exception as e:
|
|
|
103 |
else:
|
104 |
prompt_flan = f"Write a short description of this artwork:"
|
105 |
|
106 |
+
#{prompt}"
|
107 |
result = describer(prompt_flan, max_length=100, truncation=True)[0]["generated_text"]
|
108 |
return result.strip()
|
109 |
except Exception as e:
|