Spaces:
Sleeping
Sleeping
Allen Park
commited on
Commit
·
f2c7470
1
Parent(s):
ec09f15
change 2 uncaught calls of 'Patronus Lynx 8B' to
Browse files
app.py
CHANGED
@@ -134,10 +134,10 @@ def model_call(question, document, answer, client_base_url):
|
|
134 |
# ]
|
135 |
|
136 |
with gr.Blocks() as demo:
|
137 |
-
base_url_state = gr.State(update_client_base_url("Patronus Lynx 8B"))
|
138 |
gr.Markdown(HEADER)
|
139 |
# gr.Interface(fn=model_call, inputs=inputs, outputs=outputs)
|
140 |
-
model_dropdown = gr.Dropdown(choices=["Patronus Lynx 8B v1.1", "Patronus Lynx 70B"], value="Patronus Lynx 8B", label="Model", interactive=True)
|
141 |
with gr.Row():
|
142 |
with gr.Column(scale=1):
|
143 |
question = gr.Textbox(label="Question")
|
|
|
134 |
# ]
|
135 |
|
136 |
with gr.Blocks() as demo:
|
137 |
+
base_url_state = gr.State(update_client_base_url("Patronus Lynx 8B v1.1"))
|
138 |
gr.Markdown(HEADER)
|
139 |
# gr.Interface(fn=model_call, inputs=inputs, outputs=outputs)
|
140 |
+
model_dropdown = gr.Dropdown(choices=["Patronus Lynx 8B v1.1", "Patronus Lynx 70B"], value="Patronus Lynx 8B v1.1", label="Model", interactive=True)
|
141 |
with gr.Row():
|
142 |
with gr.Column(scale=1):
|
143 |
question = gr.Textbox(label="Question")
|