Spaces:
Runtime error
Runtime error
deepapaikar
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def gradio_predict(question, token):
|
|
41 |
iface = gr.Interface(
|
42 |
fn=gradio_predict,
|
43 |
inputs=[gr.Textbox(label="Question", placeholder="e.g. What are the colors of the bus in the image?", scale=4),
|
44 |
-
gr.Slider(2, 100, value=25, label="Token Count", info="Choose between 2 and 100")]
|
45 |
outputs=gr.TextArea(label="Answer"),
|
46 |
title="KatzBot",
|
47 |
description="Llama - Mistral Merge",
|
|
|
41 |
iface = gr.Interface(
|
42 |
fn=gradio_predict,
|
43 |
inputs=[gr.Textbox(label="Question", placeholder="e.g. What are the colors of the bus in the image?", scale=4),
|
44 |
+
gr.Slider(2, 100, value=25, label="Token Count", info="Choose between 2 and 100")],
|
45 |
outputs=gr.TextArea(label="Answer"),
|
46 |
title="KatzBot",
|
47 |
description="Llama - Mistral Merge",
|