Spaces:
Runtime error
Runtime error
Commit
·
2cacd15
1
Parent(s):
2225ea2
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import os
|
|
| 5 |
|
| 6 |
genai.configure(api_key = os.getenv('GOOGLE_API_KEY'))
|
| 7 |
|
| 8 |
-
model=genai.GenerativeModel('gemini-pro-
|
| 9 |
input_prompt = """
|
| 10 |
As an HTML and CSS expert, your task is to create complete HTML and CSS code based on the provided screenshot, ensuring clear and functional markup. Provide a main.html file with inline CSS that replicates the same color and same style as the given screenshot.
|
| 11 |
|
|
|
|
| 5 |
|
| 6 |
genai.configure(api_key = os.getenv('GOOGLE_API_KEY'))
|
| 7 |
|
| 8 |
+
model=genai.GenerativeModel('gemini-1.5-pro-latest')
|
| 9 |
input_prompt = """
|
| 10 |
As an HTML and CSS expert, your task is to create complete HTML and CSS code based on the provided screenshot, ensuring clear and functional markup. Provide a main.html file with inline CSS that replicates the same color and same style as the given screenshot.
|
| 11 |
|