Shirobokov commited on
Commit
12b33bc
·
verified ·
1 Parent(s): 793c39f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -32,7 +32,7 @@ with gr.Blocks() as demo:
32
  **Модель:** {MODEL_NAME}
33
  """)
34
 
35
- imp = gr.Textbox(
36
  label="Введите текст",
37
  lines=6,
38
  placeholder="Скопируйте сюда текст"
@@ -45,7 +45,7 @@ with gr.Blocks() as demo:
45
 
46
  btn.click(
47
  fn=runk,
48
- inputs=imp,
49
  outputs=[status, out, latency]
50
  )
51
 
@@ -55,7 +55,7 @@ with gr.Blocks() as demo:
55
  ["Это наихудший опыт"],
56
  ["Никакой специфики"]
57
  ],
58
- inputs=imp
59
  )
60
 
61
  demo.launch()
 
32
  **Модель:** {MODEL_NAME}
33
  """)
34
 
35
+ inp = gr.Textbox(
36
  label="Введите текст",
37
  lines=6,
38
  placeholder="Скопируйте сюда текст"
 
45
 
46
  btn.click(
47
  fn=runk,
48
+ inputs=inp,
49
  outputs=[status, out, latency]
50
  )
51
 
 
55
  ["Это наихудший опыт"],
56
  ["Никакой специфики"]
57
  ],
58
+ inputs=inp
59
  )
60
 
61
  demo.launch()