Spaces:
Running
Running
Commit
·
eda23da
1
Parent(s):
46855bb
Update app.py
Browse files
app.py
CHANGED
@@ -45,7 +45,7 @@ example_contexts=[ "when: Lionel Andrés Messi[note 1] (Spanish pronunciation:
|
|
45 |
# Create the Gradio interface with sliders for temperature and top-p
|
46 |
iface = gr.Interface(
|
47 |
fn=generate_qa,
|
48 |
-
inputs=['
|
49 |
|
50 |
gr.inputs.Slider(minimum=0, maximum=4, default=1, step=0.05, label="Temperature"),
|
51 |
gr.inputs.Slider(minimum=0.1, maximum=1, default=0.2, step=0.05, label="Top-p"),
|
|
|
45 |
# Create the Gradio interface with sliders for temperature and top-p
|
46 |
iface = gr.Interface(
|
47 |
fn=generate_qa,
|
48 |
+
inputs=['text',
|
49 |
|
50 |
gr.inputs.Slider(minimum=0, maximum=4, default=1, step=0.05, label="Temperature"),
|
51 |
gr.inputs.Slider(minimum=0.1, maximum=1, default=0.2, step=0.05, label="Top-p"),
|