Spaces:
Runtime error
Runtime error
Fix generate process
Browse files
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")
|