Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,3 @@
|
|
1 |
-
# In Google Colab
|
2 |
-
|
3 |
-
app_code = '''
|
4 |
import gradio as gr
|
5 |
from transformers import pipeline
|
6 |
from deepface import DeepFace
|
@@ -68,10 +65,3 @@ with gr.Blocks() as demo:
|
|
68 |
video_button.click(analyze_video, inputs=video_input, outputs=video_output)
|
69 |
|
70 |
demo.launch()
|
71 |
-
'''
|
72 |
-
|
73 |
-
# Save to app.py
|
74 |
-
with open("app.py", "w") as f:
|
75 |
-
f.write(app_code)
|
76 |
-
|
77 |
-
print("✅ app.py saved!")
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
from transformers import pipeline
|
3 |
from deepface import DeepFace
|
|
|
65 |
video_button.click(analyze_video, inputs=video_input, outputs=video_output)
|
66 |
|
67 |
demo.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|