Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -80,9 +80,9 @@ def chat_interface_with_agent(input_text, agent_name):
|
|
| 80 |
if agent_prompt is None:
|
| 81 |
return f"Agent {agent_name} not found."
|
| 82 |
|
| 83 |
-
model_name = "
|
| 84 |
try:
|
| 85 |
-
|
| 86 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 87 |
generator = pipeline("text-generation", model=model, tokenizer=tokenizer)
|
| 88 |
except EnvironmentError as e:
|
|
|
|
| 80 |
if agent_prompt is None:
|
| 81 |
return f"Agent {agent_name} not found."
|
| 82 |
|
| 83 |
+
model_name = "Bin12345/AutoCoder_S_6.7B"
|
| 84 |
try:
|
| 85 |
+
pipe = pipeline("text-generation", model="Bin12345/AutoCoder_S_6.7B")
|
| 86 |
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 87 |
generator = pipeline("text-generation", model=model, tokenizer=tokenizer)
|
| 88 |
except EnvironmentError as e:
|