ashwinR commited on
Commit
b606397
1 Parent(s): b094f4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -38,12 +38,9 @@ if source == 'I want to input some text':
38
  with st.spinner('Processing...'):
39
  time.sleep(2)
40
  st.markdown('___')
41
- #response = you.Completion.create(
42
- #prompt=f"Explain this code. Lets think Step by step. : {input_su}"
43
- #)
44
  prompt=f"Explain this code. Lets think Step by step. : {input_su}"
45
  for token in theb.Completion.create(prompt):
46
- print(token, end='', flush=True)
47
  st.write('Results!')
48
  st.write(response.text)
49
  stars = st_star_rating("How satisfied are you with the response?", 5, 0, 40)
 
38
  with st.spinner('Processing...'):
39
  time.sleep(2)
40
  st.markdown('___')
 
 
 
41
  prompt=f"Explain this code. Lets think Step by step. : {input_su}"
42
  for token in theb.Completion.create(prompt):
43
+ print(token, end='', flush=True)
44
  st.write('Results!')
45
  st.write(response.text)
46
  stars = st_star_rating("How satisfied are you with the response?", 5, 0, 40)