Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -99,9 +99,11 @@ common_examples=[
|
|
99 |
["What actually gives life meaning?",5,0.2,1.5,0.9,True]
|
100 |
]
|
101 |
examples = copy.deepcopy(common_examples)
|
|
|
102 |
for example in examples:
|
103 |
example.append("original_model")
|
104 |
-
|
|
|
105 |
interface_original = gr.Interface(fn=create_response,
|
106 |
title="original",
|
107 |
description="original language model, no fine tuning",
|
@@ -110,8 +112,10 @@ interface_original = gr.Interface(fn=create_response,
|
|
110 |
outputs=common_output_component_list
|
111 |
)
|
112 |
examples = copy.deepcopy(common_examples)
|
|
|
113 |
for example in examples:
|
114 |
example.append("untethered_model")
|
|
|
115 |
interface_untethered_model = gr.Interface(fn=create_response,
|
116 |
title="untethered model",
|
117 |
description="language model fine tuned with'The Untethered Soul' chapter 17",
|
@@ -121,8 +125,10 @@ interface_untethered_model = gr.Interface(fn=create_response,
|
|
121 |
)
|
122 |
|
123 |
examples = copy.deepcopy(common_examples)
|
|
|
124 |
for example in examples:
|
125 |
example.append("untethered_paraphrased_model")
|
|
|
126 |
interface_untethered_model = gr.Interface(fn=create_response,
|
127 |
title="untethered paraphrased_model",
|
128 |
description="language model fine tuned with'The Untethered Soul' chapter 17 paraphrased",
|
|
|
99 |
["What actually gives life meaning?",5,0.2,1.5,0.9,True]
|
100 |
]
|
101 |
examples = copy.deepcopy(common_examples)
|
102 |
+
print(examples)
|
103 |
for example in examples:
|
104 |
example.append("original_model")
|
105 |
+
print(examples)
|
106 |
+
|
107 |
interface_original = gr.Interface(fn=create_response,
|
108 |
title="original",
|
109 |
description="original language model, no fine tuning",
|
|
|
112 |
outputs=common_output_component_list
|
113 |
)
|
114 |
examples = copy.deepcopy(common_examples)
|
115 |
+
print(examples)
|
116 |
for example in examples:
|
117 |
example.append("untethered_model")
|
118 |
+
print(examples)
|
119 |
interface_untethered_model = gr.Interface(fn=create_response,
|
120 |
title="untethered model",
|
121 |
description="language model fine tuned with'The Untethered Soul' chapter 17",
|
|
|
125 |
)
|
126 |
|
127 |
examples = copy.deepcopy(common_examples)
|
128 |
+
print(examples)
|
129 |
for example in examples:
|
130 |
example.append("untethered_paraphrased_model")
|
131 |
+
print(examples)
|
132 |
interface_untethered_model = gr.Interface(fn=create_response,
|
133 |
title="untethered paraphrased_model",
|
134 |
description="language model fine tuned with'The Untethered Soul' chapter 17 paraphrased",
|