Spaces:
Running
Running
Update Gradio_UI.py
Browse files- Gradio_UI.py +6 -6
Gradio_UI.py
CHANGED
@@ -312,12 +312,12 @@ class GradioUI:
|
|
312 |
scale=1,
|
313 |
)
|
314 |
|
315 |
-
# Добавляем dad jokes UI внутрь блока
|
316 |
-
input_box = gr.Textbox(label="Enter a word") #added
|
317 |
-
output_text = gr.Textbox(label="Jokes Found") #added
|
318 |
-
output_audio = gr.Audio(label="Audio Pronunciation", type="filepath") #added
|
319 |
-
btn = gr.Button("Get Jokes") #added
|
320 |
-
btn.click(self.gradio_search_jokes, inputs=input_box, outputs=[output_text, output_audio]) #added
|
321 |
|
322 |
|
323 |
|
|
|
312 |
scale=1,
|
313 |
)
|
314 |
|
315 |
+
# # Добавляем dad jokes UI внутрь блока
|
316 |
+
# input_box = gr.Textbox(label="Enter a word") #added
|
317 |
+
# output_text = gr.Textbox(label="Jokes Found") #added
|
318 |
+
# output_audio = gr.Audio(label="Audio Pronunciation", type="filepath") #added
|
319 |
+
# btn = gr.Button("Get Jokes") #added
|
320 |
+
# btn.click(self.gradio_search_jokes, inputs=input_box, outputs=[output_text, output_audio]) #added
|
321 |
|
322 |
|
323 |
|