Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,6 @@ import re
|
|
| 5 |
from gtts import gTTS
|
| 6 |
import os
|
| 7 |
import logging
|
| 8 |
-
from pyngrok import ngrok
|
| 9 |
|
| 10 |
# Set up logging
|
| 11 |
logging.basicConfig(filename='app.log', level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
|
|
@@ -98,9 +97,6 @@ iface = gr.Interface(
|
|
| 98 |
description="Enter a comment and get a response from the virtual marketer assistant. Download the response as an MP3 file."
|
| 99 |
)
|
| 100 |
|
| 101 |
-
# Create a tunnel
|
| 102 |
-
public_url = ngrok.connect(7860)
|
| 103 |
-
print("Public URL:", public_url)
|
| 104 |
|
| 105 |
if __name__ == "__main__":
|
| 106 |
iface.launch(share=True)
|
|
|
|
| 5 |
from gtts import gTTS
|
| 6 |
import os
|
| 7 |
import logging
|
|
|
|
| 8 |
|
| 9 |
# Set up logging
|
| 10 |
logging.basicConfig(filename='app.log', level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
|
|
|
|
| 97 |
description="Enter a comment and get a response from the virtual marketer assistant. Download the response as an MP3 file."
|
| 98 |
)
|
| 99 |
|
|
|
|
|
|
|
|
|
|
| 100 |
|
| 101 |
if __name__ == "__main__":
|
| 102 |
iface.launch(share=True)
|