aliabd HF staff commited on
Commit
cd61260
1 Parent(s): b674c90

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
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", api_key=auth_token)
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):