Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ api=gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
|
|
5 |
def complete_with_gpt(text):
|
6 |
return text[:-50]+api(text[-50:])
|
7 |
|
8 |
-
|
9 |
with gr.Row()
|
10 |
textbox=gr.Textbox(placeholder="Type here and press enter...",lines=8)
|
11 |
with gr.Column():
|
|
|
5 |
def complete_with_gpt(text):
|
6 |
return text[:-50]+api(text[-50:])
|
7 |
|
8 |
+
with gr.Blocks()as demo:
|
9 |
with gr.Row()
|
10 |
textbox=gr.Textbox(placeholder="Type here and press enter...",lines=8)
|
11 |
with gr.Column():
|