Spaces:
Running
on
Zero
Running
on
Zero
AbstractPhil
commited on
Commit
·
01d8622
1
Parent(s):
bbabb73
probably still not working
Browse files
app.py
CHANGED
@@ -492,7 +492,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
492 |
value=""
|
493 |
)
|
494 |
|
495 |
-
# Chat interface
|
496 |
chat = gr.ChatInterface(
|
497 |
fn=generate_response,
|
498 |
additional_inputs=[
|
@@ -509,9 +509,6 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
509 |
["Solve: If a train travels 120 miles in 2 hours, what is its average speed?"],
|
510 |
],
|
511 |
cache_examples=False,
|
512 |
-
retry_btn="Retry",
|
513 |
-
undo_btn="Undo",
|
514 |
-
clear_btn="Clear",
|
515 |
)
|
516 |
|
517 |
gr.Markdown(
|
|
|
492 |
value=""
|
493 |
)
|
494 |
|
495 |
+
# Chat interface - using only valid parameters
|
496 |
chat = gr.ChatInterface(
|
497 |
fn=generate_response,
|
498 |
additional_inputs=[
|
|
|
509 |
["Solve: If a train travels 120 miles in 2 hours, what is its average speed?"],
|
510 |
],
|
511 |
cache_examples=False,
|
|
|
|
|
|
|
512 |
)
|
513 |
|
514 |
gr.Markdown(
|