Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,7 +1,12 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
-
def
|
| 4 |
-
|
|
|
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
|
| 3 |
+
def generate_website(prompt):
|
| 4 |
+
# DeepSite's logic (calls DeepSeek V3 API)
|
| 5 |
+
return html_code
|
| 6 |
|
| 7 |
+
interface = gr.Interface(
|
| 8 |
+
fn=generate_website,
|
| 9 |
+
inputs="text",
|
| 10 |
+
outputs="html"
|
| 11 |
+
)
|
| 12 |
+
interface.launch()
|