Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,6 +55,6 @@ def respond(prompt, use_rag):
|
|
| 55 |
result = generator.run(prompt, generation_kwargs={"max_new_tokens": 350})
|
| 56 |
return result["replies"][0]
|
| 57 |
|
| 58 |
-
iface = gr.Interface(fn=respond, inputs="text", outputs="text")
|
| 59 |
iface.launch()
|
| 60 |
|
|
|
|
| 55 |
result = generator.run(prompt, generation_kwargs={"max_new_tokens": 350})
|
| 56 |
return result["replies"][0]
|
| 57 |
|
| 58 |
+
iface = gr.Interface(fn=respond, inputs=["text", "checkbox"], outputs="text")
|
| 59 |
iface.launch()
|
| 60 |
|