Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -80,7 +80,9 @@ google_analytics_code = """
|
|
| 80 |
"""
|
| 81 |
|
| 82 |
# Gradio interface
|
| 83 |
-
with gr.
|
| 84 |
-
# Adding Google Analytics
|
| 85 |
-
|
| 86 |
-
|
|
|
|
|
|
|
|
|
| 80 |
"""
|
| 81 |
|
| 82 |
# Gradio interface
|
| 83 |
+
with gr.Blocks() as demo:
|
| 84 |
+
# Adding Google Analytics HTML
|
| 85 |
+
gr.HTML(google_analytics_code) # Add Google Analytics code here
|
| 86 |
+
|
| 87 |
+
# Interface
|
| 88 |
+
gr.Interface(fn=main, inputs=[gr.Textbox(label="Enter video description"), gr.Textbox(label="Enter your Hugging Face API key")], outputs=[gr.Textbox(), gr.File()]).launch(share=True)
|