Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -335,7 +335,7 @@ def generative(user_query, history, use_special_features):
|
|
| 335 |
try:
|
| 336 |
# Thu thập kết quả
|
| 337 |
result = future.result()
|
| 338 |
-
all_results.append(result)
|
| 339 |
except Exception as e:
|
| 340 |
# Ghi lại lỗi nếu xảy ra
|
| 341 |
j = 1
|
|
@@ -445,7 +445,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 445 |
)
|
| 446 |
# Khối thông tin xây dựng
|
| 447 |
build_text = gr.Textbox(
|
| 448 |
-
value="Bản dựng
|
| 449 |
label=None,
|
| 450 |
elem_id="my_textbox",
|
| 451 |
elem_classes="custom_textbox",
|
|
|
|
| 335 |
try:
|
| 336 |
# Thu thập kết quả
|
| 337 |
result = future.result()
|
| 338 |
+
all_results.append(str(result))
|
| 339 |
except Exception as e:
|
| 340 |
# Ghi lại lỗi nếu xảy ra
|
| 341 |
j = 1
|
|
|
|
| 445 |
)
|
| 446 |
# Khối thông tin xây dựng
|
| 447 |
build_text = gr.Textbox(
|
| 448 |
+
value="Bản dựng trên HuggingFace. Thử nghiệm. GHI CHÚ: Gemini 2.0 Flash có thể cho kết quả chậm hơn dự kiến (khoảng 60-90 giây).",
|
| 449 |
label=None,
|
| 450 |
elem_id="my_textbox",
|
| 451 |
elem_classes="custom_textbox",
|