Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -540,7 +540,8 @@ with gr.Blocks(
|
|
| 540 |
height=450,
|
| 541 |
avatar_images=(None, CLARE_LOGO_PATH),
|
| 542 |
show_label=False,
|
| 543 |
-
bubble_full_width=False,
|
|
|
|
| 544 |
)
|
| 545 |
|
| 546 |
# === Feedback on last answer ===
|
|
@@ -1317,4 +1318,8 @@ with gr.Blocks(
|
|
| 1317 |
)
|
| 1318 |
|
| 1319 |
if __name__ == "__main__":
|
| 1320 |
-
demo.launch(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 540 |
height=450,
|
| 541 |
avatar_images=(None, CLARE_LOGO_PATH),
|
| 542 |
show_label=False,
|
| 543 |
+
bubble_full_width=False, # will be ignored in future but safe to keep for now
|
| 544 |
+
type="messages", # use OpenAI-style messages format
|
| 545 |
)
|
| 546 |
|
| 547 |
# === Feedback on last answer ===
|
|
|
|
| 1318 |
)
|
| 1319 |
|
| 1320 |
if __name__ == "__main__":
|
| 1321 |
+
demo.launch(
|
| 1322 |
+
share=True, # required in this environment so UI can reach the app
|
| 1323 |
+
server_name="0.0.0.0",
|
| 1324 |
+
server_port=7860,
|
| 1325 |
+
)
|