Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
17 |
model.eval() # Set the model to evaluation mode
|
18 |
|
19 |
# Initialize the inference client (if needed for other API-based tasks)
|
20 |
-
client = InferenceClient(token=access_token)
|
21 |
|
22 |
def conversation_predict(input_text):
|
23 |
"""Generate a response for single-turn input using the model."""
|
|
|
17 |
model.eval() # Set the model to evaluation mode
|
18 |
|
19 |
# Initialize the inference client (if needed for other API-based tasks)
|
20 |
+
# client = InferenceClient(token=access_token)
|
21 |
|
22 |
def conversation_predict(input_text):
|
23 |
"""Generate a response for single-turn input using the model."""
|