cyberandy commited on
Commit
3d2eab7
·
verified ·
1 Parent(s): 3bc7e87

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +49 -6
app.py CHANGED
@@ -1,3 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import requests
2
  import gradio as gr
3
 
@@ -67,22 +115,18 @@ def analyze_text(text: str):
67
 
68
  css = """
69
  @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');
70
-
71
  body { font-family: 'Open Sans', sans-serif !important; }
72
-
73
  .dashboard-container {
74
  border: 1px solid #e0e5ff;
75
  border-radius: 8px;
76
  background-color: #ffffff;
77
  }
78
-
79
  .token-header {
80
  font-size: 1.25rem;
81
  font-weight: 600;
82
  margin-top: 1rem;
83
  margin-bottom: 0.5rem;
84
  }
85
-
86
  .feature-button {
87
  display: inline-block;
88
  margin: 0.25rem;
@@ -92,7 +136,6 @@ body { font-family: 'Open Sans', sans-serif !important; }
92
  border-radius: 0.375rem;
93
  font-size: 0.875rem;
94
  }
95
-
96
  .feature-button:hover {
97
  background-color: #e5e7eb;
98
  }
@@ -145,4 +188,4 @@ with gr.Blocks(theme=gr.themes.Soft(), css=css) as demo:
145
  )
146
 
147
  if __name__ == "__main__":
148
- demo.launch(share=False)
 
1
+ Hugging Face's logo
2
+ Hugging Face
3
+ Search models, datasets, users...
4
+ Models
5
+ Datasets
6
+ Spaces
7
+ Posts
8
+ Docs
9
+ Enterprise
10
+ Pricing
11
+
12
+
13
+
14
+ Spaces:
15
+
16
+ WordLift
17
+ /
18
+ brand-llms
19
+
20
+
21
+ like
22
+ 0
23
+
24
+ Logs
25
+ App
26
+ Files
27
+ Community
28
+ 1
29
+ Settings
30
+ brand-llms
31
+ /
32
+ app.py
33
+
34
+ cyberandy's picture
35
+ cyberandy
36
+ Update app.py
37
+ 3bc7e87
38
+ verified
39
+ 21 days ago
40
+ raw
41
+
42
+ Copy download link
43
+ history
44
+ blame
45
+ edit
46
+ delete
47
+
48
+ 4.55 kB
49
  import requests
50
  import gradio as gr
51
 
 
115
 
116
  css = """
117
  @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap');
 
118
  body { font-family: 'Open Sans', sans-serif !important; }
 
119
  .dashboard-container {
120
  border: 1px solid #e0e5ff;
121
  border-radius: 8px;
122
  background-color: #ffffff;
123
  }
 
124
  .token-header {
125
  font-size: 1.25rem;
126
  font-weight: 600;
127
  margin-top: 1rem;
128
  margin-bottom: 0.5rem;
129
  }
 
130
  .feature-button {
131
  display: inline-block;
132
  margin: 0.25rem;
 
136
  border-radius: 0.375rem;
137
  font-size: 0.875rem;
138
  }
 
139
  .feature-button:hover {
140
  background-color: #e5e7eb;
141
  }
 
188
  )
189
 
190
  if __name__ == "__main__":
191
+ demo.launch(share=False)