Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ def generate(text, file_name, api_key, model="gemini-2.0-flash-exp"):
|
|
62 |
save_binary_file(temp_path, inline_data.data)
|
63 |
print(
|
64 |
"File of mime type "
|
65 |
-
f"{inline_data.mime_type} saved to: {temp_path}"
|
66 |
)
|
67 |
else:
|
68 |
print(chunk.text)
|
|
|
62 |
save_binary_file(temp_path, inline_data.data)
|
63 |
print(
|
64 |
"File of mime type "
|
65 |
+
f"{inline_data.mime_type} saved to: {temp_path} and prompt input :{text}"
|
66 |
)
|
67 |
else:
|
68 |
print(chunk.text)
|