Spaces:
Running
Running
Commit ·
04bb0cc
1
Parent(s): 9d3f8b4
upgrades
Browse files
app.py
CHANGED
|
@@ -1,7 +1,6 @@
|
|
| 1 |
import os
|
| 2 |
import openai
|
| 3 |
import gradio as gr
|
| 4 |
-
from bs4 import BeautifulSoup
|
| 5 |
from conversation import Conversation
|
| 6 |
|
| 7 |
try:
|
|
@@ -12,7 +11,7 @@ except ImportError:
|
|
| 12 |
|
| 13 |
openai.api_key = os.getenv("OPEN_API_KEY")
|
| 14 |
|
| 15 |
-
with gr.Blocks(css="footer {visibility: hidden}", title="
|
| 16 |
conversation = Conversation()
|
| 17 |
gr.Markdown("Enter your website url, then ask the AI a question.")
|
| 18 |
with gr.Row():
|
|
|
|
| 1 |
import os
|
| 2 |
import openai
|
| 3 |
import gradio as gr
|
|
|
|
| 4 |
from conversation import Conversation
|
| 5 |
|
| 6 |
try:
|
|
|
|
| 11 |
|
| 12 |
openai.api_key = os.getenv("OPEN_API_KEY")
|
| 13 |
|
| 14 |
+
with gr.Blocks(css="footer {visibility: hidden}", title="ChatWebpage.com") as demo:
|
| 15 |
conversation = Conversation()
|
| 16 |
gr.Markdown("Enter your website url, then ask the AI a question.")
|
| 17 |
with gr.Row():
|