rwayz commited on
Commit
5242bc5
verified
1 Parent(s): b061628

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -55,7 +55,7 @@ def chatbot_response(user_input, model_name):
55
 
56
  with gr.Blocks(theme=gr.themes.Soft()) as demo:
57
  with gr.Row():
58
- with gr.Column(scale=1, min_width=300):
59
  gr.Markdown("## 鈿欙笍 Configura莽玫es")
60
  model_selector = gr.Dropdown(
61
  choices=list(MODELS.keys()),
@@ -63,13 +63,13 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
63
  value="LLaMA 70B"
64
  )
65
 
66
- with gr.Column(scale=3, min_width=300):
67
  gr.Markdown("# 馃 Chatbot - API SambaNova")
68
  chatbot = gr.Chatbot(height=500)
69
  msg = gr.Textbox(placeholder="Digite sua mensagem aqui...", show_label=False)
70
- with gr.Row():
71
- btn = gr.Button("Enviar", variant="primary")
72
- history_btn = gr.Button("Hist贸rico", variant="secondary")
73
 
74
  history_output = gr.JSON()
75
 
 
55
 
56
  with gr.Blocks(theme=gr.themes.Soft()) as demo:
57
  with gr.Row():
58
+ with gr.Column(scale=1):
59
  gr.Markdown("## 鈿欙笍 Configura莽玫es")
60
  model_selector = gr.Dropdown(
61
  choices=list(MODELS.keys()),
 
63
  value="LLaMA 70B"
64
  )
65
 
66
+ with gr.Column(scale=3):
67
  gr.Markdown("# 馃 Chatbot - API SambaNova")
68
  chatbot = gr.Chatbot(height=500)
69
  msg = gr.Textbox(placeholder="Digite sua mensagem aqui...", show_label=False)
70
+
71
+ btn = gr.Button("Enviar", variant="primary")
72
+ history_btn = gr.Button("Hist贸rico", variant="secondary")
73
 
74
  history_output = gr.JSON()
75