Spaces:
Sleeping
Sleeping
Commit
·
e472af1
1
Parent(s):
c5acfbd
Update app.py
Browse files
app.py
CHANGED
|
@@ -335,32 +335,34 @@ iface2 = gr.Interface(
|
|
| 335 |
|
| 336 |
|
| 337 |
iface3 = gr.Interface(
|
| 338 |
-
|
| 339 |
inputs=[
|
| 340 |
gr.Textbox(label="Input Text"),
|
| 341 |
gr.Textbox(label="One Shot Example"),
|
| 342 |
gr.Dropdown(choices=dropdown_options, label="Number of top search results"),
|
| 343 |
gr.Dropdown(choices=llm_dropdown, label="LLM")
|
| 344 |
],
|
| 345 |
-
outputs=
|
| 346 |
-
"LLM Answer"
|
| 347 |
-
"Google Search Result"
|
| 348 |
-
|
| 349 |
)
|
| 350 |
|
| 351 |
|
| 352 |
iface4 = gr.Interface(
|
| 353 |
-
|
| 354 |
inputs=[
|
| 355 |
gr.Textbox(label="Input Text"),
|
| 356 |
gr.Textbox(label="One Shot Example"),
|
| 357 |
gr.Dropdown(choices=dropdown_options_4, label="Number of top k documents"),
|
| 358 |
gr.Dropdown(choices=llm_dropdown, label="LLM")
|
| 359 |
],
|
| 360 |
-
|
| 361 |
-
"LLM Answer"
|
| 362 |
-
"Abstract Search Result"
|
| 363 |
-
|
|
|
|
|
|
|
| 364 |
)
|
| 365 |
|
| 366 |
|
|
|
|
| 335 |
|
| 336 |
|
| 337 |
iface3 = gr.Interface(
|
| 338 |
+
function3,
|
| 339 |
inputs=[
|
| 340 |
gr.Textbox(label="Input Text"),
|
| 341 |
gr.Textbox(label="One Shot Example"),
|
| 342 |
gr.Dropdown(choices=dropdown_options, label="Number of top search results"),
|
| 343 |
gr.Dropdown(choices=llm_dropdown, label="LLM")
|
| 344 |
],
|
| 345 |
+
outputs=[
|
| 346 |
+
gr.Textbox(label="LLM Answer"),
|
| 347 |
+
gr.Textbox(label="Google Search Result")
|
| 348 |
+
]
|
| 349 |
)
|
| 350 |
|
| 351 |
|
| 352 |
iface4 = gr.Interface(
|
| 353 |
+
function4,
|
| 354 |
inputs=[
|
| 355 |
gr.Textbox(label="Input Text"),
|
| 356 |
gr.Textbox(label="One Shot Example"),
|
| 357 |
gr.Dropdown(choices=dropdown_options_4, label="Number of top k documents"),
|
| 358 |
gr.Dropdown(choices=llm_dropdown, label="LLM")
|
| 359 |
],
|
| 360 |
+
outputs=[
|
| 361 |
+
gr.Textbox(label="LLM Answer"),
|
| 362 |
+
gr.Textbox(label="Abstract Search Result")
|
| 363 |
+
]
|
| 364 |
+
|
| 365 |
+
|
| 366 |
)
|
| 367 |
|
| 368 |
|