Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
# Предположим, что модель загружена и доступна
|
4 |
-
|
5 |
|
6 |
def code_assistant(system_message, chat_history, user_input):
|
7 |
if not chat_history:
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
# Предположим, что модель загружена и доступна
|
4 |
+
model = gr.load("models/Qwen/Qwen2.5-Coder-32B-Instruct")
|
5 |
|
6 |
def code_assistant(system_message, chat_history, user_input):
|
7 |
if not chat_history:
|