Onurcan Genç commited on
Commit ·
fb273bd
1
Parent(s): daa71a4
app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ if not api_key:
|
|
| 15 |
# Set the API key and model for the interpreter
|
| 16 |
interpreter.llm.api_key = api_key
|
| 17 |
interpreter.llm.provider = "huggingface" # Specify the provider
|
| 18 |
-
interpreter.llm.model = "
|
| 19 |
|
| 20 |
# Function to execute shell commands if detected in model output
|
| 21 |
def execute_shell_command(command):
|
|
|
|
| 15 |
# Set the API key and model for the interpreter
|
| 16 |
interpreter.llm.api_key = api_key
|
| 17 |
interpreter.llm.provider = "huggingface" # Specify the provider
|
| 18 |
+
interpreter.llm.model = "huggingface/gpt2" # Use the correct model identifier
|
| 19 |
|
| 20 |
# Function to execute shell commands if detected in model output
|
| 21 |
def execute_shell_command(command):
|