f2re commited on
Commit
0b19d73
·
1 Parent(s): a425ab3
Files changed (1) hide show
  1. app.py +0 -5
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")