Update app.py
Browse files
app.py
CHANGED
|
@@ -33,7 +33,7 @@ def predict(data):
|
|
| 33 |
iface = gr.Interface(
|
| 34 |
fn=predict,
|
| 35 |
inputs=["text","checkbox",gr.Slider(0,100)],
|
| 36 |
-
outputs=
|
| 37 |
live=True,
|
| 38 |
examples=[
|
| 39 |
{"prompt": "This is the prompt", "A": "Option A text", "B": "Option B text", "C": "Option C text", "D": "Option D text", "E": "Option E text"}
|
|
|
|
| 33 |
iface = gr.Interface(
|
| 34 |
fn=predict,
|
| 35 |
inputs=["text","checkbox",gr.Slider(0,100)],
|
| 36 |
+
outputs=["text","number"],
|
| 37 |
live=True,
|
| 38 |
examples=[
|
| 39 |
{"prompt": "This is the prompt", "A": "Option A text", "B": "Option B text", "C": "Option C text", "D": "Option D text", "E": "Option E text"}
|