pragnakalp commited on
Commit
58eef77
·
1 Parent(s): 9d116ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -10
app.py CHANGED
@@ -200,19 +200,11 @@ def one_shot(image,input_text,gender):
200
 
201
 
202
 
203
-
204
- input_value = "Hello How are you?"
205
-
206
  image = gr.Image(show_label=True, type="filepath",label="Input Image")
207
- input_text=gr.Textbox(lines=3, value=input_value, label="Input Text")
208
  gender = gr.Radio(["Female","Male"],value="Female",label="Gender")
209
  output = gr.Video(show_label=True,label="Output")
210
 
211
- demo = gr.Interface(
212
- one_shot,
213
- [image,input_text,gender],
214
- [output],
215
- title="One Shot Talking Face from Text",
216
- )
217
  demo.launch(enable_queue = False)
218
 
 
200
 
201
 
202
 
 
 
 
203
  image = gr.Image(show_label=True, type="filepath",label="Input Image")
204
+ input_text=gr.Textbox(lines=3, value="Hello How are you?", label="Input Text")
205
  gender = gr.Radio(["Female","Male"],value="Female",label="Gender")
206
  output = gr.Video(show_label=True,label="Output")
207
 
208
+ demo = gr.Interface(one_shot,[image,input_text,gender],[output],title="One Shot Talking Face from Text",)
 
 
 
 
 
209
  demo.launch(enable_queue = False)
210