Commit
·
7079f58
1
Parent(s):
1db0d96
Update app.py
Browse files
app.py
CHANGED
@@ -200,7 +200,8 @@ def one_shot(image,input_text,gender):
|
|
200 |
one_shot_talking(image,'audio.wav')
|
201 |
|
202 |
|
203 |
-
def generate_ocr(method,image):
|
|
|
204 |
return "Hello"
|
205 |
|
206 |
def run():
|
@@ -217,7 +218,7 @@ def run():
|
|
217 |
with gr.Row().style(equal_height=True):
|
218 |
btn = gr.Button("Generate")
|
219 |
|
220 |
-
btn.click(
|
221 |
block.queue()
|
222 |
block.launch(server_name="0.0.0.0", server_port=7860)
|
223 |
|
|
|
200 |
one_shot_talking(image,'audio.wav')
|
201 |
|
202 |
|
203 |
+
def generate_ocr(method,image,gender):
|
204 |
+
print("efef")
|
205 |
return "Hello"
|
206 |
|
207 |
def run():
|
|
|
218 |
with gr.Row().style(equal_height=True):
|
219 |
btn = gr.Button("Generate")
|
220 |
|
221 |
+
btn.click(generate_ocr, inputs=[image_in, input_text,gender], outputs=[video_out])
|
222 |
block.queue()
|
223 |
block.launch(server_name="0.0.0.0", server_port=7860)
|
224 |
|