Update app.py
Browse files
app.py
CHANGED
@@ -90,10 +90,10 @@ def choice_group_d(var_Test):
|
|
90 |
|
91 |
def test_pass(test):
|
92 |
if test==os.getenv('p'):
|
93 |
-
print("
|
94 |
return gr.Dropdown(label="test Model", show_label=False, choices=list(models_test) , allow_custom_value=True)
|
95 |
else:
|
96 |
-
print("
|
97 |
return gr.Dropdown(label="test Model", show_label=False, choices=list([]) , allow_custom_value=True)
|
98 |
|
99 |
def gen_fn(model_str, prompt):
|
|
|
90 |
|
91 |
def test_pass(test):
|
92 |
if test==os.getenv('p'):
|
93 |
+
print("okk")
|
94 |
return gr.Dropdown(label="test Model", show_label=False, choices=list(models_test) , allow_custom_value=True)
|
95 |
else:
|
96 |
+
print("no")
|
97 |
return gr.Dropdown(label="test Model", show_label=False, choices=list([]) , allow_custom_value=True)
|
98 |
|
99 |
def gen_fn(model_str, prompt):
|