Akjava commited on
Commit
9af0dbc
Β·
verified Β·
1 Parent(s): 0ee8fa9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -6,6 +6,7 @@ import torch
6
  from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
7
  import gradio as gr
8
 
 
9
  def init():
10
  huggingface_token = os.getenv("HUGGINGFACE_TOKEN")
11
  if not huggingface_token:
 
6
  from transformers import AutoTokenizer, AutoModelForCausalLM, pipeline
7
  import gradio as gr
8
 
9
+ text_generator = None
10
  def init():
11
  huggingface_token = os.getenv("HUGGINGFACE_TOKEN")
12
  if not huggingface_token: