Update instructions
Browse files
app.py
CHANGED
@@ -14,8 +14,13 @@ with gr.Blocks() as demo:
|
|
14 |
<br>
|
15 |
<br>**AI Task**: Ask ChatGPT to do something for you. Eg, summarize a text.
|
16 |
<br>**Code Task**: ChatGPT will create a python function to do something for you. Eg, get the text from a website.
|
|
|
17 |
<br>
|
18 |
-
<br>Max 10 tasks allowed (for now).
|
|
|
|
|
|
|
|
|
19 |
"""
|
20 |
)
|
21 |
for t in all_tasks.values():
|
|
|
14 |
<br>
|
15 |
<br>**AI Task**: Ask ChatGPT to do something for you. Eg, summarize a text.
|
16 |
<br>**Code Task**: ChatGPT will create a python function to do something for you. Eg, get the text from a website.
|
17 |
+
<br> The code for the Code Tasks must be generated before executing the whole application.
|
18 |
<br>
|
19 |
+
<br>Output from previous tasks can be referenced in subsequen tasks with {tn}. Max 10 tasks allowed (for now).
|
20 |
+
<br>
|
21 |
+
<br>Example application:
|
22 |
+
<br>1. Code Task: Get the text from a website.
|
23 |
+
<br>2. AI Task: Summarize {t0}.
|
24 |
"""
|
25 |
)
|
26 |
for t in all_tasks.values():
|