OmPrakashSingh1704 commited on
Commit
869270f
1 Parent(s): 36ee41f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -66,8 +66,8 @@ def generate_recipe(user_inputs):
66
  )
67
 
68
  response = client.text_generation(prompt, **generate_kwargs)
69
- for i in response:
70
- st.session_state.recipe += i.token.text
71
  st.session_state.recipe_saved = False
72
 
73
  def clear_inputs():
 
66
  )
67
 
68
  response = client.text_generation(prompt, **generate_kwargs)
69
+ # for i in response:
70
+ st.session_state.recipe += response.token.text
71
  st.session_state.recipe_saved = False
72
 
73
  def clear_inputs():