Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -69,7 +69,10 @@ def generate_architecture_article(images, space_type, space_description):
|
|
| 69 |
|
| 70 |
response = model.generate_content([prompt])
|
| 71 |
|
| 72 |
-
|
|
|
|
|
|
|
|
|
|
| 73 |
|
| 74 |
|
| 75 |
# Gradio 인터페이스 설정
|
|
|
|
| 69 |
|
| 70 |
response = model.generate_content([prompt])
|
| 71 |
|
| 72 |
+
for chunk in response.text:
|
| 73 |
+
full_text += chunk
|
| 74 |
+
yield full_text
|
| 75 |
+
time.sleep(0.01)
|
| 76 |
|
| 77 |
|
| 78 |
# Gradio 인터페이스 설정
|