Spaces:
Runtime error
Runtime error
DavidFernandes
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ def code_completion(input_data, metadata):
|
|
9 |
print(f"Input data content: {input_data}") # Debugging line
|
10 |
prompt = input_data # Use the string directly as the prompt
|
11 |
response = client.chat.completions.create(
|
12 |
-
model="deepseek-
|
13 |
messages=[
|
14 |
{"role": "system", "content": "You are an Evil AI assistant called Ultron from Marvel Cinemtic Universe and you give short and concise answers."},
|
15 |
{"role": "user", "content": prompt},
|
|
|
9 |
print(f"Input data content: {input_data}") # Debugging line
|
10 |
prompt = input_data # Use the string directly as the prompt
|
11 |
response = client.chat.completions.create(
|
12 |
+
model="deepseek-chat",
|
13 |
messages=[
|
14 |
{"role": "system", "content": "You are an Evil AI assistant called Ultron from Marvel Cinemtic Universe and you give short and concise answers."},
|
15 |
{"role": "user", "content": prompt},
|