Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ from gradio_client import Client
|
|
4 |
|
5 |
MY_HF_TOKEN_KEY = os.environ["MY_HF_TOKEN_KEY"]
|
6 |
|
7 |
-
client = Client("Ghana-NLP/
|
8 |
|
9 |
def generate(text, direction):
|
10 |
output = client.predict(text, direction)
|
|
|
4 |
|
5 |
MY_HF_TOKEN_KEY = os.environ["MY_HF_TOKEN_KEY"]
|
6 |
|
7 |
+
client = Client("Ghana-NLP/test-text-models",hf_token=MY_HF_TOKEN_KEY)
|
8 |
|
9 |
def generate(text, direction):
|
10 |
output = client.predict(text, direction)
|