Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,7 @@ def load_model(model_name: str):
|
|
48 |
return "The model has been uploaded successfully!"
|
49 |
|
50 |
def generate(input_texts: str, model_name: str, language: str) -> str:
|
51 |
-
"""Генерирует текст на основе входных
|
52 |
if current_model is None or current_tokenizer is None:
|
53 |
return "Please select and upload the model first."
|
54 |
|
|
|
48 |
return "The model has been uploaded successfully!"
|
49 |
|
50 |
def generate(input_texts: str, model_name: str, language: str) -> str:
|
51 |
+
"""Генерирует текст на основе входных данных"""
|
52 |
if current_model is None or current_tokenizer is None:
|
53 |
return "Please select and upload the model first."
|
54 |
|