Spaces:
Sleeping
Sleeping
Capitalize the I in gr.Interface
#1
by
Wootang01
- opened
app.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
|
3 |
-
api = gr.
|
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("huggigngface/EleutherAI/gpt-neo-2.7B")
|
4 |
|
5 |
def complete_with_gpt(text):
|
6 |
return text [:-50] + api(text[-50:])
|