dar-tau commited on
Commit
edb0c67
·
verified ·
1 Parent(s): 2a19f0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -102,9 +102,9 @@ model = AutoModelClass.from_pretrained(model_name, **model_args)
102
  tokenizer = AutoTokenizer.from_pretrained(tokenizer_name, token=os.environ['hf_token'])
103
 
104
  # demo
105
- global_state = gr.State([])
106
  json_output = gr.JSON()
107
  with gr.Blocks(theme=gr.themes.Default()) as demo:
 
108
  with gr.Row():
109
  with gr.Column(scale=5):
110
  gr.Markdown('''
 
102
  tokenizer = AutoTokenizer.from_pretrained(tokenizer_name, token=os.environ['hf_token'])
103
 
104
  # demo
 
105
  json_output = gr.JSON()
106
  with gr.Blocks(theme=gr.themes.Default()) as demo:
107
+ global_state = gr.State([])
108
  with gr.Row():
109
  with gr.Column(scale=5):
110
  gr.Markdown('''