Update app.py
Browse files
app.py
CHANGED
@@ -50,8 +50,8 @@ with demo:
|
|
50 |
"""
|
51 |
)
|
52 |
with gr.Row():
|
53 |
-
input_prompt = gr.Textbox(value="Question: The coin is heads up. (3) Then Kara flips. (2) Then Luke doesn't flip. (1) Then Austin flips. Is the coin still heads up? Solution: Coin is initially heads up. (3) After Kara flips, coin becomes tails. (2) Luke doesn't flip, so coin stays tails. (1) After Austin flips, coin turns to heads.\nQuestion: The coin is heads up. (
|
54 |
-
label="Enter your few-shot
|
55 |
generated_txt = gr.Textbox(lines=10, label="Generated Solution:")
|
56 |
|
57 |
b1 = gr.Button("Generate Text")
|
|
|
50 |
"""
|
51 |
)
|
52 |
with gr.Row():
|
53 |
+
input_prompt = gr.Textbox(value="Question: The coin is heads up. (3) Then Kara flips. (2) Then Luke doesn't flip. (1) Then Austin flips. Is the coin still heads up? Solution: Coin is initially heads up. (3) After Kara flips, coin becomes tails. (2) Luke doesn't flip, so coin stays tails. (1) After Austin flips, coin turns to heads.\nQuestion: The coin is heads up. (4) Then Kara flips. (3) Then Luke doesn't flip. (2) Then Austin doesn't flip. (1) Then Kara flips. Is the coin still heads up? ",
|
54 |
+
label="Enter your examples (few-shot) followed by Query :")
|
55 |
generated_txt = gr.Textbox(lines=10, label="Generated Solution:")
|
56 |
|
57 |
b1 = gr.Button("Generate Text")
|