dar-tau commited on
Commit
b4d2f29
1 Parent(s): 367205f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +21 -17
app.py CHANGED
@@ -103,23 +103,27 @@ tokenizer = AutoTokenizer.from_pretrained(tokenizer_name, token=os.environ['hf_t
103
 
104
  # demo
105
  json_output = gr.JSON()
106
- css = '''
107
- .token_btn{
108
- background-color: none;
109
- background: none;
110
- border: none;
111
- padding: 0;
112
- font: inherit;
113
- cursor: pointer;
114
- color: blue; /* default text color */
115
- font-weight: bold;
116
- }
117
-
118
- .token_btn:hover {
119
- color: red;
120
- }
121
-
122
- '''
 
 
 
 
123
  with gr.Blocks(theme=gr.themes.Default(), css=css) as demo:
124
  global_state = gr.State([])
125
  with gr.Row():
 
103
 
104
  # demo
105
  json_output = gr.JSON()
106
+ css = ''
107
+
108
+ # '''
109
+ # .token_btn{
110
+ # background-color: none;
111
+ # background: none;
112
+ # border: none;
113
+ # padding: 0;
114
+ # font: inherit;
115
+ # cursor: pointer;
116
+ # color: blue; /* default text color */
117
+ # font-weight: bold;
118
+ # }
119
+
120
+ # .token_btn:hover {
121
+ # color: red;
122
+ # }
123
+
124
+ # '''
125
+
126
+
127
  with gr.Blocks(theme=gr.themes.Default(), css=css) as demo:
128
  global_state = gr.State([])
129
  with gr.Row():