Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
@@ -40,7 +40,6 @@ def generate_text(
|
|
40 |
top_p = body.get("top_p", 0.95)
|
41 |
max_new_tokens = body.get("max_new_tokens",512)
|
42 |
repetition_penalty = body.get("repetition_penalty", 1.0)
|
43 |
-
print(f"temperature + {temperature}")
|
44 |
history = [] # You might need to handle this based on your actual usage
|
45 |
formatted_prompt = format_prompt(f"{system_prompt}, {prompt}", history)
|
46 |
|
|
|
40 |
top_p = body.get("top_p", 0.95)
|
41 |
max_new_tokens = body.get("max_new_tokens",512)
|
42 |
repetition_penalty = body.get("repetition_penalty", 1.0)
|
|
|
43 |
history = [] # You might need to handle this based on your actual usage
|
44 |
formatted_prompt = format_prompt(f"{system_prompt}, {prompt}", history)
|
45 |
|