Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -4,10 +4,8 @@
|
|
4 |
import gradio as gr
|
5 |
import os
|
6 |
|
7 |
-
auth_token = os.getenv("auth_token")
|
8 |
-
|
9 |
# load a model from https://hf.co/models as an interface, then use it as an api
|
10 |
-
api = gr.Interface.load("huggingface/EleutherAI/gpt-j-6B"
|
11 |
|
12 |
# define the core function
|
13 |
def complete_with_gpt(text):
|
|
|
4 |
import gradio as gr
|
5 |
import os
|
6 |
|
|
|
|
|
7 |
# load a model from https://hf.co/models as an interface, then use it as an api
|
8 |
+
api = gr.Interface.load("huggingface/EleutherAI/gpt-j-6B")
|
9 |
|
10 |
# define the core function
|
11 |
def complete_with_gpt(text):
|