Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
|
4 |
|
5 |
def complete_with_gpt(text):
|
6 |
return text[:-50]+api(text[-50:])
|
|
|
1 |
import gradio as gr
|
2 |
|
3 |
+
api=gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
|
4 |
|
5 |
def complete_with_gpt(text):
|
6 |
return text[:-50]+api(text[-50:])
|