Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -28,7 +28,7 @@ def suggest_recipes(ingredients):
|
|
28 |
|
29 |
# Use the HuggingFaceEndpoint model to generate a response
|
30 |
response = llm(prompt)
|
31 |
-
return response
|
32 |
|
33 |
# Gradio interface
|
34 |
with gr.Blocks() as app:
|
|
|
28 |
|
29 |
# Use the HuggingFaceEndpoint model to generate a response
|
30 |
response = llm(prompt)
|
31 |
+
return response.content
|
32 |
|
33 |
# Gradio interface
|
34 |
with gr.Blocks() as app:
|