eldhoskj commited on
Commit
67f7693
1 Parent(s): 069f1ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -12
app.py CHANGED
@@ -1,19 +1,9 @@
1
- # import gradio as gr
2
- # import os
3
-
4
- # hf_token=os.getenv("hf_token")
5
- # HF_TOKEN =os.getenv("HF_TOKEN")
6
- # print(hf_token)
7
- # print(HF_TOKEN)
8
- # gr.load("models/imcapsule/tasomi-capsule").launch()
9
-
10
  import gradio as gr
11
  import os
12
 
13
- # hf_token = os.environ.get("HF_TOKEN")
14
 
15
- # gr.load("imcapsule/tasomi-capsule", src="models",hf_token=hf_token).launch()
16
- gr.load("imcapsule/tasomi-capsule", src="models").launch()
17
 
18
 
19
 
 
 
 
 
 
 
 
 
 
 
1
  import gradio as gr
2
  import os
3
 
4
+ hf_token = os.environ.get("HF_TOKEN")
5
 
6
+ gr.load("imcapsule/tasomi-capsule", src="models",hf_token=hf_token).launch()
 
7
 
8
 
9