Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,5 +8,5 @@ hf_token = os.getenv("HF_TOKEN")
|
|
8 |
app = gr.load(name="segestic/token-cost-calculator", src="spaces", token=hf_token)
|
9 |
|
10 |
# Use the app
|
11 |
-
output = app("Input text")
|
12 |
print(output)
|
|
|
8 |
app = gr.load(name="segestic/token-cost-calculator", src="spaces", token=hf_token)
|
9 |
|
10 |
# Use the app
|
11 |
+
output = app(["Input text"])
|
12 |
print(output)
|