Spaces:
Runtime error
Runtime error
Commit ·
54660d3
1
Parent(s): 217455d
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,10 +1,6 @@
|
|
| 1 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
| 2 |
-
from huggingface_hub import initialize_zero_gpu
|
| 3 |
import gradio as gr
|
| 4 |
|
| 5 |
-
# Initialize ZeroGPU
|
| 6 |
-
initialize_zero_gpu()
|
| 7 |
-
|
| 8 |
# Define the model name
|
| 9 |
model_name = "tiiuae/falcon-10b-instruct"
|
| 10 |
|
|
|
|
| 1 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
|
|
| 2 |
import gradio as gr
|
| 3 |
|
|
|
|
|
|
|
|
|
|
| 4 |
# Define the model name
|
| 5 |
model_name = "tiiuae/falcon-10b-instruct"
|
| 6 |
|