Spaces:
Sleeping
Sleeping
OmPrakashSingh1704
commited on
Commit
•
869270f
1
Parent(s):
36ee41f
Update app.py
Browse files
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 |
-
|
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():
|