Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,7 +14,7 @@ generation_config = {
|
|
| 14 |
"response_mime_type": "text/plain",
|
| 15 |
}
|
| 16 |
model = genai.GenerativeModel(
|
| 17 |
-
model_name="gemini-1.5-
|
| 18 |
generation_config=generation_config,
|
| 19 |
)
|
| 20 |
|
|
@@ -72,7 +72,7 @@ def generate_architecture_article(images, space_type, space_description):
|
|
| 72 |
for chunk in response.text:
|
| 73 |
full_text += chunk
|
| 74 |
yield full_text
|
| 75 |
-
time.sleep(0.
|
| 76 |
|
| 77 |
|
| 78 |
# Gradio 인터페이스 설정
|
|
|
|
| 14 |
"response_mime_type": "text/plain",
|
| 15 |
}
|
| 16 |
model = genai.GenerativeModel(
|
| 17 |
+
model_name="gemini-1.5-pro-exp-0827",
|
| 18 |
generation_config=generation_config,
|
| 19 |
)
|
| 20 |
|
|
|
|
| 72 |
for chunk in response.text:
|
| 73 |
full_text += chunk
|
| 74 |
yield full_text
|
| 75 |
+
time.sleep(0.001)
|
| 76 |
|
| 77 |
|
| 78 |
# Gradio 인터페이스 설정
|