Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
zapusk.py
CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
|
|
3 |
|
4 |
model = pipeline("text-generation",
|
5 |
|
6 |
-
model="
|
7 |
|
8 |
def predict(prompt):
|
9 |
completion = model(prompt, max_length=50)[0]["generated_text"]
|
|
|
3 |
|
4 |
model = pipeline("text-generation",
|
5 |
|
6 |
+
model="lastversion")
|
7 |
|
8 |
def predict(prompt):
|
9 |
completion = model(prompt, max_length=50)[0]["generated_text"]
|