Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -193,9 +193,9 @@ def create_gradio_interface():
|
|
| 193 |
with gr.Tab("❓ Ask a Question"):
|
| 194 |
query_input = gr.Textbox(label="Enter your question")
|
| 195 |
model_dropdown = gr.Dropdown(
|
| 196 |
-
choices=["gpt-
|
| 197 |
label="Select Model",
|
| 198 |
-
value="gpt-
|
| 199 |
)
|
| 200 |
similarity_checkbox = gr.Checkbox(label="Use Similarity Check", value=False)
|
| 201 |
query_button = gr.Button("Ask")
|
|
@@ -272,5 +272,4 @@ def create_gradio_interface():
|
|
| 272 |
|
| 273 |
if __name__ == "__main__":
|
| 274 |
demo = create_gradio_interface()
|
| 275 |
-
demo.launch()
|
| 276 |
-
</antArt
|
|
|
|
| 193 |
with gr.Tab("❓ Ask a Question"):
|
| 194 |
query_input = gr.Textbox(label="Enter your question")
|
| 195 |
model_dropdown = gr.Dropdown(
|
| 196 |
+
choices=["gpt-4o-mini", "gpt-4o", "gpt-4"],
|
| 197 |
label="Select Model",
|
| 198 |
+
value="gpt-4o-mini"
|
| 199 |
)
|
| 200 |
similarity_checkbox = gr.Checkbox(label="Use Similarity Check", value=False)
|
| 201 |
query_button = gr.Button("Ask")
|
|
|
|
| 272 |
|
| 273 |
if __name__ == "__main__":
|
| 274 |
demo = create_gradio_interface()
|
| 275 |
+
demo.launch()
|
|
|