Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ else:
|
|
| 13 |
raise ValueError("Hugging Face token not found in environment variables.")
|
| 14 |
|
| 15 |
# Initialize the text generation pipeline
|
| 16 |
-
pipe = pipeline("text-generation", model="
|
| 17 |
|
| 18 |
def generate_response(user_input):
|
| 19 |
# Generate text based on the user's input
|
|
|
|
| 13 |
raise ValueError("Hugging Face token not found in environment variables.")
|
| 14 |
|
| 15 |
# Initialize the text generation pipeline
|
| 16 |
+
pipe = pipeline("text-generation", model="FacebookAI/xlm-roberta-base")
|
| 17 |
|
| 18 |
def generate_response(user_input):
|
| 19 |
# Generate text based on the user's input
|