Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,9 +39,7 @@ if source == 'I want to input some text':
|
|
| 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 |
-
detailed=True,
|
| 44 |
-
include_links=True
|
| 45 |
)
|
| 46 |
st.write('Results!')
|
| 47 |
st.write(response.text)
|
|
@@ -57,9 +55,7 @@ if source == 'I want to upload a file':
|
|
| 57 |
time.sleep(2)
|
| 58 |
st.markdown('___')
|
| 59 |
response = you.Completion.create(
|
| 60 |
-
prompt=f"Explain this code. Lets think Step by step : {string_data}"
|
| 61 |
-
detailed=True,
|
| 62 |
-
include_links=True
|
| 63 |
)
|
| 64 |
|
| 65 |
st.write(response.text)
|
|
|
|
| 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 |
st.write('Results!')
|
| 45 |
st.write(response.text)
|
|
|
|
| 55 |
time.sleep(2)
|
| 56 |
st.markdown('___')
|
| 57 |
response = you.Completion.create(
|
| 58 |
+
prompt=f"Explain this code. Lets think Step by step : {string_data}"
|
|
|
|
|
|
|
| 59 |
)
|
| 60 |
|
| 61 |
st.write(response.text)
|