pratikshahp commited on
Commit
872a142
·
verified ·
1 Parent(s): 090f461

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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: