inoid commited on
Commit
aa12e2e
1 Parent(s): b720019

Fix generate process

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -69,12 +69,12 @@ with gr.Blocks() as demo:
69
  inp = gr.Textbox(placeholder="What is your name?")
70
  out = gr.Textbox()
71
 
72
- btn_response = gr.Button("Generate Response")
73
- btn_response.click(fn=generate_model, inputs=inp, outputs=out)
74
- btn_train = gr.Button("Train Model")
75
- btn_train.click(fn=train_model, inputs=[], outputs=out)
76
- btn_finnetuning = gr.Button("Finnetuning Model")
77
- btn_finnetuning.click(fn=finnetuning_model, inputs=[], outputs=out)
78
  btn_evaluate = gr.Button("Evaluate Model")
79
  btn_evaluate.click(fn=evaluate_model, inputs=inp, outputs=out)
80
  btn_stop = gr.Button("Stop Model")
 
69
  inp = gr.Textbox(placeholder="What is your name?")
70
  out = gr.Textbox()
71
 
72
+ # btn_response = gr.Button("Generate Response")
73
+ # btn_response.click(fn=generate_model, inputs=inp, outputs=out)
74
+ # btn_train = gr.Button("Train Model")
75
+ # btn_train.click(fn=train_model, inputs=[], outputs=out)
76
+ # btn_finnetuning = gr.Button("Finnetuning Model")
77
+ # btn_finnetuning.click(fn=finnetuning_model, inputs=[], outputs=out)
78
  btn_evaluate = gr.Button("Evaluate Model")
79
  btn_evaluate.click(fn=evaluate_model, inputs=inp, outputs=out)
80
  btn_stop = gr.Button("Stop Model")