openfree commited on
Commit
82227e2
·
verified ·
1 Parent(s): c255c5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +27 -28
app.py CHANGED
@@ -618,7 +618,7 @@ button:hover, .btn:hover {
618
  """
619
 
620
  title_html = """
621
- <h1 align="center" style="margin-bottom: 0.2em;"> 🤗 Vidraft-G3-27B : 'Reasoning + Multimodal + VLM + Deep Research + Agent' Platform</h1>
622
  <p align="center" style="font-size:1.1em; color:#555;">
623
  Operates on an NVIDIA A100 GPU as an independent local server, enhancing security and preventing information leakage.
624
  @Based by 'MS Gemma-3-27b' / @Powered by 'MOUSE-II'(VIDRAFT)
@@ -656,34 +656,33 @@ with gr.Blocks(css=css, title="Vidraft-G3-27B ") as demo:
656
  visible=False # 화면에서 감춤
657
  )
658
 
659
- # 채팅 인터페이스를 화면 전체 폭으로 사용
660
- chat = gr.ChatInterface(
661
- fn=run,
662
- type="messages",
663
- chatbot=gr.Chatbot(type="messages", scale=1, allow_tags=["image"]),
664
- textbox=gr.MultimodalTextbox(
665
- file_types=[
666
- ".webp", ".png", ".jpg", ".jpeg", ".gif",
667
- ".mp4", ".csv", ".txt", ".pdf"
668
- ],
669
- file_count="multiple",
670
- autofocus=True
671
- ),
672
- multimodal=True,
673
- additional_inputs=[
674
- system_prompt_box,
675
- max_tokens_slider,
676
- web_search_checkbox,
677
- web_search_text,
678
  ],
679
- stop_btn=False,
680
- title="https://discord.gg/openfreeai",
681
- examples=examples,
682
- run_examples_on_click=False,
683
- cache_examples=False,
684
- css_paths=None,
685
- delete_cache=(1800, 1800),
686
- )
 
 
 
 
 
 
 
 
 
 
687
 
688
  with gr.Row(elem_id="examples_row"):
689
  with gr.Column(scale=12, elem_id="examples_container"):
 
618
  """
619
 
620
  title_html = """
621
+ <h1 align="center" style="margin-bottom: 0.2em; font-size: 1.6em;"> 🤗 Vidraft-G3-27B : 'Reasoning + Multimodal + VLM + Deep Research + Agent' Platform</h1>
622
  <p align="center" style="font-size:1.1em; color:#555;">
623
  Operates on an NVIDIA A100 GPU as an independent local server, enhancing security and preventing information leakage.
624
  @Based by 'MS Gemma-3-27b' / @Powered by 'MOUSE-II'(VIDRAFT)
 
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"):