Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -655,7 +655,7 @@ with gr.Blocks(css=css, title="Vidraft-G3-27B ") as demo:
|
|
| 655 |
placeholder="No direct input needed",
|
| 656 |
visible=False # 화면에서 감춤
|
| 657 |
)
|
| 658 |
-
|
| 659 |
chat = gr.ChatInterface(
|
| 660 |
fn=run,
|
| 661 |
type="messages",
|
|
@@ -684,14 +684,14 @@ chat = gr.ChatInterface(
|
|
| 684 |
delete_cache=(1800, 1800),
|
| 685 |
)
|
| 686 |
|
| 687 |
-
|
| 688 |
-
|
| 689 |
-
|
| 690 |
-
|
| 691 |
-
|
| 692 |
-
|
| 693 |
-
|
| 694 |
-
|
| 695 |
|
| 696 |
|
| 697 |
if __name__ == "__main__":
|
|
|
|
| 655 |
placeholder="No direct input needed",
|
| 656 |
visible=False # 화면에서 감춤
|
| 657 |
)
|
| 658 |
+
# 채팅 인터페이스를 화면 전체 폭으로 사용
|
| 659 |
chat = gr.ChatInterface(
|
| 660 |
fn=run,
|
| 661 |
type="messages",
|
|
|
|
| 684 |
delete_cache=(1800, 1800),
|
| 685 |
)
|
| 686 |
|
| 687 |
+
with gr.Row(elem_id="examples_row"):
|
| 688 |
+
with gr.Column(scale=12, elem_id="examples_container"):
|
| 689 |
+
gr.Markdown("### Example Inputs (click to load)")
|
| 690 |
+
gr.Examples(
|
| 691 |
+
examples=examples,
|
| 692 |
+
inputs=[],
|
| 693 |
+
cache_examples=False
|
| 694 |
+
)
|
| 695 |
|
| 696 |
|
| 697 |
if __name__ == "__main__":
|