Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,6 +15,7 @@ from selenium.webdriver.common.by import By
|
|
| 15 |
driver_type = 'chromedriver'
|
| 16 |
driver=False
|
| 17 |
def run_script(html: str, style: str):
|
|
|
|
| 18 |
#regex = r"^(https?://)"
|
| 19 |
#is_url = re.search(regex, text)
|
| 20 |
is_url=True
|
|
@@ -71,7 +72,7 @@ bla bla
|
|
| 71 |
• or two
|
| 72 |
</pre>"""
|
| 73 |
|
| 74 |
-
sty="""background:
|
| 75 |
|
| 76 |
with gr.Blocks() as app:
|
| 77 |
with gr.Row():
|
|
|
|
| 15 |
driver_type = 'chromedriver'
|
| 16 |
driver=False
|
| 17 |
def run_script(html: str, style: str):
|
| 18 |
+
html.replace("\n","<br>")
|
| 19 |
#regex = r"^(https?://)"
|
| 20 |
#is_url = re.search(regex, text)
|
| 21 |
is_url=True
|
|
|
|
| 72 |
• or two
|
| 73 |
</pre>"""
|
| 74 |
|
| 75 |
+
sty="""background:cornflowerblue;height:300;width:500;"""
|
| 76 |
|
| 77 |
with gr.Blocks() as app:
|
| 78 |
with gr.Row():
|