Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,11 +7,13 @@ import base64
|
|
| 7 |
# Your Personal Access Token
|
| 8 |
PAT = '96eccae9a5944c1097477f0529306410'
|
| 9 |
|
|
|
|
|
|
|
| 10 |
# Initialize Clarifai app
|
| 11 |
app = ClarifaiApp(api_key=PAT)
|
| 12 |
|
| 13 |
# Specify the model ID (replace 'YOUR_MODEL_ID' with the actual model ID)
|
| 14 |
-
model = app.models.get('
|
| 15 |
|
| 16 |
# Streamlit page configuration
|
| 17 |
st.title('Image Generation with Clarifai')
|
|
|
|
| 7 |
# Your Personal Access Token
|
| 8 |
PAT = '96eccae9a5944c1097477f0529306410'
|
| 9 |
|
| 10 |
+
USER_ID = 'qaillc'
|
| 11 |
+
|
| 12 |
# Initialize Clarifai app
|
| 13 |
app = ClarifaiApp(api_key=PAT)
|
| 14 |
|
| 15 |
# Specify the model ID (replace 'YOUR_MODEL_ID' with the actual model ID)
|
| 16 |
+
model = app.models.get('mikeimage2text')
|
| 17 |
|
| 18 |
# Streamlit page configuration
|
| 19 |
st.title('Image Generation with Clarifai')
|