EkhiAzur commited on
Commit
b2820ed
1 Parent(s): 1ab4362

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -1,3 +1,9 @@
1
  import gradio as gr
2
 
3
- gr.Interface.load("models/EkhiAzur/RoBERTA_3").launch()
 
 
 
 
 
 
 
1
  import gradio as gr
2
 
3
+ from transformers import AutoModel
4
+
5
+ access_token = "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"
6
+
7
+ model = AutoModel.from_pretrained("EkhiAzur/RoBERTA_3", token=access_token)
8
+
9
+ gr.Interface.load(model).launch()