Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -130,7 +130,7 @@ def single_submit_func(prompt, files, model, temperature, top_p, max_tokens, api
|
|
130 |
response_mime_type="text/plain",
|
131 |
)
|
132 |
try:
|
133 |
-
response = client.models.generate_content(model=model, contents=contents, config=
|
134 |
response_text = warning
|
135 |
response_images = []
|
136 |
|
|
|
130 |
response_mime_type="text/plain",
|
131 |
)
|
132 |
try:
|
133 |
+
response = client.models.generate_content(model=model, contents=contents, config=generate_content_config)
|
134 |
response_text = warning
|
135 |
response_images = []
|
136 |
|