Commit
·
e9efc05
1
Parent(s):
d9ea9a9
Fix gradio build erros
Browse files
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.
|
38 |
-
outputs=
|
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 |
)
|