patrickvonplaten
commited on
Commit
•
9dd610c
1
Parent(s):
114611c
Update app.py
Browse files
app.py
CHANGED
@@ -206,7 +206,7 @@ def change_view(row_number, dataframe):
|
|
206 |
intro_view: gr.update(visible=False),
|
207 |
result_view: gr.update(visible=True),
|
208 |
gallery_view: gr.update(visible=False),
|
209 |
-
start_view: gr.update(visible=True)
|
210 |
result: RESULT[favorite_model],
|
211 |
}
|
212 |
else:
|
@@ -214,7 +214,7 @@ def change_view(row_number, dataframe):
|
|
214 |
intro_view: gr.update(visible=False),
|
215 |
result_view: gr.update(visible=False),
|
216 |
gallery_view: gr.update(visible=True),
|
217 |
-
start_view: gr.update(visible=False)
|
218 |
result: "",
|
219 |
}
|
220 |
|
|
|
206 |
intro_view: gr.update(visible=False),
|
207 |
result_view: gr.update(visible=True),
|
208 |
gallery_view: gr.update(visible=False),
|
209 |
+
start_view: gr.update(visible=True),
|
210 |
result: RESULT[favorite_model],
|
211 |
}
|
212 |
else:
|
|
|
214 |
intro_view: gr.update(visible=False),
|
215 |
result_view: gr.update(visible=False),
|
216 |
gallery_view: gr.update(visible=True),
|
217 |
+
start_view: gr.update(visible=False),
|
218 |
result: "",
|
219 |
}
|
220 |
|