Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
# Import necessary packages
|
2 |
import os
|
3 |
from ibm_watson_machine_learning.foundation_models import Model
|
|
|
|
|
4 |
import gradio as gr
|
5 |
|
6 |
# Securely access the API key and project ID from environment variables
|
|
|
1 |
# Import necessary packages
|
2 |
import os
|
3 |
from ibm_watson_machine_learning.foundation_models import Model
|
4 |
+
from ibm_watson_machine_learning.metanames import GenTextParamsMetaNames as GenParams
|
5 |
+
from ibm_watson_machine_learning.foundation_models.utils.enums import ModelTypes, DecodingMethods
|
6 |
import gradio as gr
|
7 |
|
8 |
# Securely access the API key and project ID from environment variables
|