jonaschua commited on
Commit
98620a4
·
verified ·
1 Parent(s): 2ab13a3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -4
app.py CHANGED
@@ -94,11 +94,7 @@ def respond(message, history: list[tuple[str, str]], model, system_message, max_
94
 
95
  demo = gr.ChatInterface(
96
  respond,
97
- multimodal=True,
98
  examples=[["Explain quantum computing"], ["Explain forex trading"], ["What is the capital of China?"], ["Make a poem about nature"]],
99
-
100
- # examples=[["Explain quantum computing"], ["Explain forex trading"], "Make a poem about nature", "What is the capital of America?"], ["What is the capital of China?"]],
101
- # run_examples_on_click=False,
102
  additional_inputs=[
103
  gr.Dropdown(["DeepSeek-R1-Distill-Qwen-1.5B", "DeepSeek-R1-Distill-Qwen-32B", "Gemma-2-2b", "Gemma-7b", "Llama2-13b-chat", "Llama3-8b-Instruct", "Llama3.1-8b-Instruct", "Microsoft-phi-2", "Mixtral-8x7B-Instruct", "Zephr-7b-beta"], label="Select Model"),
104
  gr.Textbox(value="You are a friendly and helpful Chatbot, be concise and straight to the point, avoid excessive reasoning.", label="System message"),
 
94
 
95
  demo = gr.ChatInterface(
96
  respond,
 
97
  examples=[["Explain quantum computing"], ["Explain forex trading"], ["What is the capital of China?"], ["Make a poem about nature"]],
 
 
 
98
  additional_inputs=[
99
  gr.Dropdown(["DeepSeek-R1-Distill-Qwen-1.5B", "DeepSeek-R1-Distill-Qwen-32B", "Gemma-2-2b", "Gemma-7b", "Llama2-13b-chat", "Llama3-8b-Instruct", "Llama3.1-8b-Instruct", "Microsoft-phi-2", "Mixtral-8x7B-Instruct", "Zephr-7b-beta"], label="Select Model"),
100
  gr.Textbox(value="You are a friendly and helpful Chatbot, be concise and straight to the point, avoid excessive reasoning.", label="System message"),