Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ import os
|
|
8 |
api_key = os.getenv("GEMINI_API_KEY")
|
9 |
genai.configure(api_key = api_key)
|
10 |
|
11 |
-
def
|
12 |
"""
|
13 |
Writes a short story about the uploaded image.
|
14 |
|
|
|
8 |
api_key = os.getenv("GEMINI_API_KEY")
|
9 |
genai.configure(api_key = api_key)
|
10 |
|
11 |
+
def ImageStory(image: Union[np.ndarray, str, IO]) -> str:
|
12 |
"""
|
13 |
Writes a short story about the uploaded image.
|
14 |
|