fix app
Browse files
app.py
CHANGED
|
@@ -42,11 +42,6 @@ def generate_text(input_text):
|
|
| 42 |
return cleaned_output_text
|
| 43 |
|
| 44 |
|
| 45 |
-
def generate_text(input_text):
|
| 46 |
-
# Ваша логика генерации текста здесь
|
| 47 |
-
generated_text = f"Generated text: {input_text}"
|
| 48 |
-
return generated_text
|
| 49 |
-
|
| 50 |
with gr.Blocks() as text_generation_interface:
|
| 51 |
with gr.Row():
|
| 52 |
input_text = gr.Textbox(label="Input Text")
|
|
|
|
| 42 |
return cleaned_output_text
|
| 43 |
|
| 44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
with gr.Blocks() as text_generation_interface:
|
| 46 |
with gr.Row():
|
| 47 |
input_text = gr.Textbox(label="Input Text")
|