Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -4,8 +4,8 @@ import numpy as np
|
|
4 |
import gradio as gr
|
5 |
import spaces
|
6 |
|
7 |
-
tokenizer = AutoTokenizer.from_pretrained("
|
8 |
-
model = AutoModelForCausalLM.from_pretrained("
|
9 |
|
10 |
print("Loading finished.")
|
11 |
|
|
|
4 |
import gradio as gr
|
5 |
import spaces
|
6 |
|
7 |
+
tokenizer = AutoTokenizer.from_pretrained("gpt2")
|
8 |
+
model = AutoModelForCausalLM.from_pretrained("gpt2")
|
9 |
|
10 |
print("Loading finished.")
|
11 |
|