File size: 1,184 Bytes
3be9f56
8042b49
 
 
2a0eb38
3be9f56
 
 
 
c85b1fb
 
 
3be9f56
 
c85b1fb
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import gradio as gr
import base64
import requests
import uuid
import os

title = """
<div align="center">
  <h1>🌊 Welcome to LaVague</h1>
  <p>This space provides a managed instance of <a href="https://github.com/lavague-ai/LaVague">LaVague</a>, an open-source Large Action Model (LAM) framework allowing users to write queries in natural language to interact with a website by automatically generating Selenium code.</p>
  <p><b> ⚠️Update 03/30/2024:</b> After a few days of activity, we have decided to close this Space. We noticed several prompt injection attempts on our server that could crash this space. Though we provided an initial sandboxing, the effort to have a usable and safe environment for users would be too much</p>.
  <p>However, you can easily run for free LaVague on a <a href="https://colab.research.google.com/github/lavague-ai/lavague/blob/main/docs/docs/get-started/quick-tour.ipynb">Google Colab</a> or run in on your machine with our <a href="https://docs.lavague.ai/en/latest/docs/get-started/quick-tour/">Quick Tour</a></p>.
</div>
"""
with gr.Blocks() as demo:
  with gr.Tab("LaVague"):
    with gr.Row():
        gr.HTML(title)
    
demo.launch()