Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -120,11 +120,6 @@ with gr.Blocks(css=CSS, theme='ParityError/Interstellar') as demo:
|
|
120 |
chatbot=chatbot,
|
121 |
fill_height=True,
|
122 |
additional_inputs=[
|
123 |
-
gr.Dropdown(
|
124 |
-
choices=list(MODELS.keys()),
|
125 |
-
value="Phi-3.5-mini",
|
126 |
-
label="Model",
|
127 |
-
),
|
128 |
gr.Textbox(
|
129 |
value="You are a helpful assistant",
|
130 |
label="System Prompt",
|
@@ -164,6 +159,11 @@ with gr.Blocks(css=CSS, theme='ParityError/Interstellar') as demo:
|
|
164 |
value=1.2,
|
165 |
label="Repetition penalty",
|
166 |
),
|
|
|
|
|
|
|
|
|
|
|
167 |
],
|
168 |
examples=[
|
169 |
["Help me study vocabulary: write a sentence for me to fill in the blank, and I'll try to pick the correct option."],
|
@@ -175,4 +175,4 @@ with gr.Blocks(css=CSS, theme='ParityError/Interstellar') as demo:
|
|
175 |
)
|
176 |
|
177 |
if __name__ == "__main__":
|
178 |
-
demo.launch()
|
|
|
120 |
chatbot=chatbot,
|
121 |
fill_height=True,
|
122 |
additional_inputs=[
|
|
|
|
|
|
|
|
|
|
|
123 |
gr.Textbox(
|
124 |
value="You are a helpful assistant",
|
125 |
label="System Prompt",
|
|
|
159 |
value=1.2,
|
160 |
label="Repetition penalty",
|
161 |
),
|
162 |
+
gr.Dropdown(
|
163 |
+
choices=list(MODELS.keys()),
|
164 |
+
value="Phi-3.5-mini",
|
165 |
+
label="Model",
|
166 |
+
),
|
167 |
],
|
168 |
examples=[
|
169 |
["Help me study vocabulary: write a sentence for me to fill in the blank, and I'll try to pick the correct option."],
|
|
|
175 |
)
|
176 |
|
177 |
if __name__ == "__main__":
|
178 |
+
demo.launch()
|