Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,9 +4,9 @@ import torch
|
|
| 4 |
import gradio as gr
|
| 5 |
|
| 6 |
# checkpoint = "tiiuae/falcon-40b-instruct"
|
| 7 |
-
checkpoint = "tiiuae/falcon-7b-instruct"
|
| 8 |
# checkpoint = "tiiuae/falcon-7b"
|
| 9 |
-
|
| 10 |
|
| 11 |
|
| 12 |
model = AutoModelForCausalLM.from_pretrained(
|
|
|
|
| 4 |
import gradio as gr
|
| 5 |
|
| 6 |
# checkpoint = "tiiuae/falcon-40b-instruct"
|
| 7 |
+
# checkpoint = "tiiuae/falcon-7b-instruct"
|
| 8 |
# checkpoint = "tiiuae/falcon-7b"
|
| 9 |
+
checkpoint = "gpt2"
|
| 10 |
|
| 11 |
|
| 12 |
model = AutoModelForCausalLM.from_pretrained(
|