Spaces:
Configuration error
Configuration error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
#level 5 text generator
|
2 |
import gradio as gr
|
3 |
|
4 |
-
api = gr.Interface.load("huggingface/EleutherAI/gpt-
|
5 |
|
6 |
|
7 |
def complete_with_gpt(text):
|
@@ -17,4 +17,4 @@ with gr.Blocks() as demo:
|
|
17 |
|
18 |
btn.click(complete_with_gpt, textbox, textbox)
|
19 |
|
20 |
-
demo.launch()
|
|
|
1 |
#level 5 text generator
|
2 |
import gradio as gr
|
3 |
|
4 |
+
api = gr.Interface.load("huggingface/EleutherAI/gpt-neo-2.7B")
|
5 |
|
6 |
|
7 |
def complete_with_gpt(text):
|
|
|
17 |
|
18 |
btn.click(complete_with_gpt, textbox, textbox)
|
19 |
|
20 |
+
demo.launch(share="True")
|