openfree commited on
Commit
bea1183
·
verified ·
1 Parent(s): 12f28c1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +26 -26
app.py CHANGED
@@ -656,33 +656,33 @@ with gr.Blocks(css=css, title="Vidraft-G3-27B ") as demo:
656
  visible=False # 화면에서 감춤
657
  )
658
  # 채팅 인터페이스를 화면 전체 폭으로 사용
659
- chat = gr.ChatInterface(
660
- fn=run,
661
- type="messages",
662
- chatbot=gr.Chatbot(type="messages", scale=1, allow_tags=["image"]),
663
- textbox=gr.MultimodalTextbox(
664
- file_types=[
665
- ".webp", ".png", ".jpg", ".jpeg", ".gif",
666
- ".mp4", ".csv", ".txt", ".pdf"
 
 
 
 
 
 
 
 
 
 
667
  ],
668
- file_count="multiple",
669
- autofocus=True
670
- ),
671
- multimodal=True,
672
- additional_inputs=[
673
- system_prompt_box,
674
- max_tokens_slider,
675
- web_search_checkbox,
676
- web_search_text,
677
- ],
678
- stop_btn=False,
679
- title='<a href="https://discord.gg/openfreeai" target="_blank">https://discord.gg/openfreeai</a>',
680
- examples=examples,
681
- run_examples_on_click=False,
682
- cache_examples=False,
683
- css_paths=None,
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"):
 
656
  visible=False # 화면에서 감춤
657
  )
658
  # 채팅 인터페이스를 화면 전체 폭으로 사용
659
+ chat = gr.ChatInterface(
660
+ fn=run,
661
+ type="messages",
662
+ chatbot=gr.Chatbot(type="messages", scale=1, allow_tags=["image"]),
663
+ textbox=gr.MultimodalTextbox(
664
+ file_types=[
665
+ ".webp", ".png", ".jpg", ".jpeg", ".gif",
666
+ ".mp4", ".csv", ".txt", ".pdf"
667
+ ],
668
+ file_count="multiple",
669
+ autofocus=True
670
+ ),
671
+ multimodal=True,
672
+ additional_inputs=[
673
+ system_prompt_box,
674
+ max_tokens_slider,
675
+ web_search_checkbox,
676
+ web_search_text,
677
  ],
678
+ stop_btn=False,
679
+ title="https://discord.gg/openfreeai",
680
+ examples=examples,
681
+ run_examples_on_click=False,
682
+ cache_examples=False,
683
+ css_paths=None,
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"):