Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ client = InferenceClient(
|
|
12 |
)
|
13 |
|
14 |
MODELS = {
|
15 |
-
"LLaMA 70B": "meta-llama/
|
16 |
"Qwen 32B": "Qwen/QwQ-32B",
|
17 |
"DeepSeek R1": "deepseek-ai/DeepSeek-R1",
|
18 |
}
|
@@ -73,10 +73,10 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
73 |
btn = gr.Button("Enviar", variant="primary")
|
74 |
history_btn = gr.Button("Hist贸rico", variant="secondary")
|
75 |
|
76 |
-
|
77 |
gr.Column(scale=0.5, min_width=40)
|
78 |
|
79 |
-
|
80 |
|
81 |
def respond(message, chat_history, model_name):
|
82 |
response = chatbot_response(message, model_name)
|
|
|
12 |
)
|
13 |
|
14 |
MODELS = {
|
15 |
+
"LLaMA 70B": "meta-llama/Llamaac3.3-70B-Instruct",
|
16 |
"Qwen 32B": "Qwen/QwQ-32B",
|
17 |
"DeepSeek R1": "deepseek-ai/DeepSeek-R1",
|
18 |
}
|
|
|
73 |
btn = gr.Button("Enviar", variant="primary")
|
74 |
history_btn = gr.Button("Hist贸rico", variant="secondary")
|
75 |
|
76 |
+
history_output = gr.JSON()
|
77 |
gr.Column(scale=0.5, min_width=40)
|
78 |
|
79 |
+
|
80 |
|
81 |
def respond(message, chat_history, model_name):
|
82 |
response = chatbot_response(message, model_name)
|