leonard-dls
commited on
Commit
·
3e7569f
1
Parent(s):
4eff8a8
small fix
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import random
|
|
| 4 |
import gradio as gr
|
| 5 |
from difflib import SequenceMatcher
|
| 6 |
|
| 7 |
-
file_path = "
|
| 8 |
similarity_threshold = 0.85
|
| 9 |
current_index = 0
|
| 10 |
|
|
@@ -74,7 +74,7 @@ with gr.Blocks() as demo:
|
|
| 74 |
interactive=False,
|
| 75 |
value=examples[current_index]["seed"],
|
| 76 |
)
|
| 77 |
-
|
| 78 |
next_btn = gr.Button("Anoter example")
|
| 79 |
|
| 80 |
next_btn.click(fn=next_example,
|
|
|
|
| 4 |
import gradio as gr
|
| 5 |
from difflib import SequenceMatcher
|
| 6 |
|
| 7 |
+
file_path = "filtered_big_gsm8k_output.jsonl"
|
| 8 |
similarity_threshold = 0.85
|
| 9 |
current_index = 0
|
| 10 |
|
|
|
|
| 74 |
interactive=False,
|
| 75 |
value=examples[current_index]["seed"],
|
| 76 |
)
|
| 77 |
+
|
| 78 |
next_btn = gr.Button("Anoter example")
|
| 79 |
|
| 80 |
next_btn.click(fn=next_example,
|