breadlicker45 commited on
Commit
68ce0a7
1 Parent(s): 28cbffb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ from transformers import AutoTokenizer, AutoModelForCausalLM
2
  import torch
3
  import gradio as gr
4
 
5
- tokenizer = AutoTokenizer.from_pretrained("gpt2")
6
  model = AutoModelForCausalLM.from_pretrained("facebook/galactica-1.3b")
7
 
8
  def text_generation(input_text, seed):
 
2
  import torch
3
  import gradio as gr
4
 
5
+ tokenizer = AutoTokenizer.from_pretrained("facebook/galactica-1.3b")
6
  model = AutoModelForCausalLM.from_pretrained("facebook/galactica-1.3b")
7
 
8
  def text_generation(input_text, seed):