Spaces:
Running
Running
ParthCodes
commited on
Commit
•
89c244c
1
Parent(s):
8e50441
Update app.py
Browse files
app.py
CHANGED
@@ -327,10 +327,10 @@ def video_to_audio(input_video):
|
|
327 |
|
328 |
print(payload)
|
329 |
|
330 |
-
response = requests.post('https://parthcodes-flask-
|
331 |
|
332 |
|
333 |
-
with gr.Blocks(theme=theme, css=".gradio-container { background: rgba(
|
334 |
input_video = gr.Video(sources=["webcam", "upload"], format='mp4')
|
335 |
input_video.stop_recording(fn=video_to_audio, inputs=input_video)
|
336 |
input_video.upload(fn=video_to_audio, inputs=input_video)
|
|
|
327 |
|
328 |
print(payload)
|
329 |
|
330 |
+
response = requests.post('https://parthcodes-test-flask-deploy.hf.space/interview', json=payload)
|
331 |
|
332 |
|
333 |
+
with gr.Blocks(theme=theme, css=".gradio-container { background: rgba(0, 0, 0, 0.4) !important; box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 ) !important; backdrop-filter: blur( 10px ) !important; -webkit-backdrop-filter: blur( 10px ) !important; border-radius: 12px !important;}") as Video:
|
334 |
input_video = gr.Video(sources=["webcam", "upload"], format='mp4')
|
335 |
input_video.stop_recording(fn=video_to_audio, inputs=input_video)
|
336 |
input_video.upload(fn=video_to_audio, inputs=input_video)
|