Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -563,14 +563,17 @@ block_css = """
|
|
| 563 |
min-width: min(120px,100%);
|
| 564 |
}
|
| 565 |
.message-row img {
|
| 566 |
-
max-width: 80
|
| 567 |
-
max-height: 400px;
|
| 568 |
-
height: auto;
|
| 569 |
-
|
| 570 |
-
|
| 571 |
-
margin-
|
| 572 |
-
|
| 573 |
-
border:
|
|
|
|
|
|
|
|
|
|
| 574 |
}
|
| 575 |
.avatar-container img {
|
| 576 |
padding: 0px !important;
|
|
@@ -581,7 +584,6 @@ block_css = """
|
|
| 581 |
}
|
| 582 |
"""
|
| 583 |
|
| 584 |
-
|
| 585 |
def load_initial_state_and_example1():
|
| 586 |
"""
|
| 587 |
Loads the initial Conversation state and prepares the inputs
|
|
|
|
| 563 |
min-width: min(120px,100%);
|
| 564 |
}
|
| 565 |
.message-row img {
|
| 566 |
+
max-width: 80% !important;
|
| 567 |
+
max-height: 400px !important;
|
| 568 |
+
height: auto !important;
|
| 569 |
+
width: auto !important;
|
| 570 |
+
display: block !important;
|
| 571 |
+
margin-top: 10px !important;
|
| 572 |
+
margin-bottom: 5px !important;
|
| 573 |
+
border-radius: 5px !important;
|
| 574 |
+
border: 1px solid #e0e0e0 !important;
|
| 575 |
+
object-fit: contain !important;
|
| 576 |
+
aspect-ratio: auto !important;
|
| 577 |
}
|
| 578 |
.avatar-container img {
|
| 579 |
padding: 0px !important;
|
|
|
|
| 584 |
}
|
| 585 |
"""
|
| 586 |
|
|
|
|
| 587 |
def load_initial_state_and_example1():
|
| 588 |
"""
|
| 589 |
Loads the initial Conversation state and prepares the inputs
|