Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ def code_block(txt, mdn):
|
|
7 |
return txt + (res := llm(
|
8 |
prompt=txt,
|
9 |
stop=['###', '///', '\n\n\n\n'],
|
10 |
-
)['choices'][0]['text']), mdn+txt+res
|
11 |
# COnvert this to gr.Blocks()
|
12 |
|
13 |
with gr.Blocks() as apps:
|
|
|
7 |
return txt + (res := llm(
|
8 |
prompt=txt,
|
9 |
stop=['###', '///', '\n\n\n\n'],
|
10 |
+
)['choices'][0]['text']), mdn+"\n\n"+txt+res
|
11 |
# COnvert this to gr.Blocks()
|
12 |
|
13 |
with gr.Blocks() as apps:
|