Spaces:
Sleeping
Sleeping
aakarsh-yadav-tcgls
commited on
Commit
•
36d951c
1
Parent(s):
daa3b24
setting up api calling
Browse files
app.py
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
import requests
|
2 |
-
|
3 |
-
import requests
|
4 |
|
5 |
API_URL = "https://api-inference.huggingface.co/models/yiyanghkust/finbert-tone"
|
6 |
headers = {"Authorization": "Bearer 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"}
|
|
|
1 |
import requests
|
2 |
+
import gradio as gr
|
|
|
3 |
|
4 |
API_URL = "https://api-inference.huggingface.co/models/yiyanghkust/finbert-tone"
|
5 |
headers = {"Authorization": "Bearer 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"}
|