gabrielclark3330 commited on
Commit
e9efc05
·
1 Parent(s): d9ea9a9

Fix gradio build erros

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -34,8 +34,8 @@ def generate_response(input_text):
34
  # Create the Gradio interface
35
  demo = gr.Interface(
36
  fn=generate_response,
37
- inputs=gr.inputs.Textbox(lines=5, placeholder="Enter your question here..."),
38
- outputs="text",
39
  title="Zamba2-7B Model",
40
  description="Ask Zamba2 7B a question."
41
  )
 
34
  # Create the Gradio interface
35
  demo = gr.Interface(
36
  fn=generate_response,
37
+ inputs=gr.Textbox(lines=5, placeholder="Enter your question here..."),
38
+ outputs=gr.Textbox(),
39
  title="Zamba2-7B Model",
40
  description="Ask Zamba2 7B a question."
41
  )