jhj0517 commited on
Commit
c3b532a
1 Parent(s): c661883

interactive to True

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -66,7 +66,7 @@ class App:
66
  nb_best_of = gr.Number(label="Best Of", value=5, interactive=True)
67
  nb_patience = gr.Number(label="Patience", value=1, interactive=True)
68
  cb_condition_on_previous_text = gr.Checkbox(label="Condition On Previous Text", value=True, interactive=True)
69
- tb_initial_prompt = gr.Textbox(label="Initial Prompt", value=None, interactive=False)
70
  with gr.Row():
71
  btn_run = gr.Button("GENERATE SUBTITLE FILE", variant="primary")
72
  with gr.Row():
@@ -120,7 +120,7 @@ class App:
120
  nb_best_of = gr.Number(label="Best Of", value=5, interactive=True)
121
  nb_patience = gr.Number(label="Patience", value=1, interactive=True)
122
  cb_condition_on_previous_text = gr.Checkbox(label="Condition On Previous Text", value=True, interactive=True)
123
- tb_initial_prompt = gr.Textbox(label="Initial Prompt", value=None, interactive=False)
124
  with gr.Row():
125
  btn_run = gr.Button("GENERATE SUBTITLE FILE", variant="primary")
126
  with gr.Row():
@@ -167,7 +167,7 @@ class App:
167
  nb_best_of = gr.Number(label="Best Of", value=5, interactive=True)
168
  nb_patience = gr.Number(label="Patience", value=1, interactive=True)
169
  cb_condition_on_previous_text = gr.Checkbox(label="Condition On Previous Text", value=True, interactive=True)
170
- tb_initial_prompt = gr.Textbox(label="Initial Prompt", value=None, interactive=False)
171
  with gr.Row():
172
  btn_run = gr.Button("GENERATE SUBTITLE FILE", variant="primary")
173
  with gr.Row():
 
66
  nb_best_of = gr.Number(label="Best Of", value=5, interactive=True)
67
  nb_patience = gr.Number(label="Patience", value=1, interactive=True)
68
  cb_condition_on_previous_text = gr.Checkbox(label="Condition On Previous Text", value=True, interactive=True)
69
+ tb_initial_prompt = gr.Textbox(label="Initial Prompt", value=None, interactive=True)
70
  with gr.Row():
71
  btn_run = gr.Button("GENERATE SUBTITLE FILE", variant="primary")
72
  with gr.Row():
 
120
  nb_best_of = gr.Number(label="Best Of", value=5, interactive=True)
121
  nb_patience = gr.Number(label="Patience", value=1, interactive=True)
122
  cb_condition_on_previous_text = gr.Checkbox(label="Condition On Previous Text", value=True, interactive=True)
123
+ tb_initial_prompt = gr.Textbox(label="Initial Prompt", value=None, interactive=True)
124
  with gr.Row():
125
  btn_run = gr.Button("GENERATE SUBTITLE FILE", variant="primary")
126
  with gr.Row():
 
167
  nb_best_of = gr.Number(label="Best Of", value=5, interactive=True)
168
  nb_patience = gr.Number(label="Patience", value=1, interactive=True)
169
  cb_condition_on_previous_text = gr.Checkbox(label="Condition On Previous Text", value=True, interactive=True)
170
+ tb_initial_prompt = gr.Textbox(label="Initial Prompt", value=None, interactive=True)
171
  with gr.Row():
172
  btn_run = gr.Button("GENERATE SUBTITLE FILE", variant="primary")
173
  with gr.Row():