Spaces:
Sleeping
Sleeping
Ankit Yadav
commited on
Commit
·
38575dc
1
Parent(s):
30f323a
Jarvis Model
Browse files
app.py
CHANGED
@@ -104,14 +104,13 @@ with gr.Blocks(css="style.css") as demo:
|
|
104 |
with gr.Row():
|
105 |
user_input = gr.Textbox(label="Prompt", value="What is Wikipedia")
|
106 |
input_text = gr.Textbox(label="Input Text", elem_id="important")
|
107 |
-
output_audio = gr.Audio(label="JARVIS", type="filepath",
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
with gr.Row():
|
112 |
translate_btn = gr.Button("Response")
|
113 |
-
translate_btn.click(fn=generate1, inputs=user_input,
|
114 |
-
outputs=output_audio, api_name="translate")
|
115 |
|
116 |
gr.Markdown(MORE)
|
117 |
|
|
|
104 |
with gr.Row():
|
105 |
user_input = gr.Textbox(label="Prompt", value="What is Wikipedia")
|
106 |
input_text = gr.Textbox(label="Input Text", elem_id="important")
|
107 |
+
# output_audio = gr.Audio(label="JARVIS", type="filepath",
|
108 |
+
# interactive=False,
|
109 |
+
# autoplay=True,
|
110 |
+
# elem_classes="audio")
|
111 |
with gr.Row():
|
112 |
translate_btn = gr.Button("Response")
|
113 |
+
translate_btn.click(fn=generate1, inputs=user_input, api_name="translate")
|
|
|
114 |
|
115 |
gr.Markdown(MORE)
|
116 |
|