Spaces:
Runtime error
Runtime error
Remove dowload button
Browse files
app.py
CHANGED
@@ -25,12 +25,7 @@ class Demo:
|
|
25 |
|
26 |
def disable(self):
|
27 |
return [gr.update(interactive=False), gr.update(interactive=False)]
|
28 |
-
|
29 |
-
|
30 |
-
if self.finetuner is not None:
|
31 |
-
|
32 |
-
torch.save()
|
33 |
-
|
34 |
def layout(self):
|
35 |
|
36 |
with gr.Row():
|
@@ -75,10 +70,6 @@ class Demo:
|
|
75 |
self.train_button = gr.Button(
|
76 |
value="Train",
|
77 |
)
|
78 |
-
|
79 |
-
self.download = gr.Button(value="Download Model Weights")
|
80 |
-
self.download.click(self.save)
|
81 |
-
|
82 |
|
83 |
with gr.Column(scale=2) as inference_column:
|
84 |
|
|
|
25 |
|
26 |
def disable(self):
|
27 |
return [gr.update(interactive=False), gr.update(interactive=False)]
|
28 |
+
|
|
|
|
|
|
|
|
|
|
|
29 |
def layout(self):
|
30 |
|
31 |
with gr.Row():
|
|
|
70 |
self.train_button = gr.Button(
|
71 |
value="Train",
|
72 |
)
|
|
|
|
|
|
|
|
|
73 |
|
74 |
with gr.Column(scale=2) as inference_column:
|
75 |
|