admin commited on
Commit
ccf467e
Β·
1 Parent(s): 30e9073

upd gr ver

Browse files
Files changed (3) hide show
  1. README.md +1 -1
  2. app.py +9 -9
  3. requirements.txt +1 -1
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: πŸ€“
4
  colorFrom: indigo
5
  colorTo: green
6
  sdk: gradio
7
- sdk_version: 5.22.0
8
  app_file: app.py
9
  pinned: false
10
  license: mit
 
4
  colorFrom: indigo
5
  colorTo: green
6
  sdk: gradio
7
+ sdk_version: 6.3.0
8
  app_file: app.py
9
  pinned: false
10
  license: mit
app.py CHANGED
@@ -143,10 +143,10 @@ if __name__ == "__main__":
143
  gr.Number(label="q", value=100),
144
  ],
145
  outputs=[
146
- gr.Textbox(label=_L("ηŠΆζ€ζ "), show_copy_button=True),
147
  gr.Markdown(
148
  value=_L("#### θ―ζ˜Žη»“ζžœ"),
149
- show_copy_button=True,
150
  container=True,
151
  min_height=122,
152
  ),
@@ -163,10 +163,10 @@ if __name__ == "__main__":
163
  gr.Number(label="q", value=1000),
164
  ],
165
  outputs=[
166
- gr.Textbox(label=_L("ηŠΆζ€ζ "), show_copy_button=True),
167
  gr.Markdown(
168
  value=_L("#### θ―ζ˜Žη»“ζžœ"),
169
- show_copy_button=True,
170
  container=True,
171
  min_height=122,
172
  ),
@@ -185,10 +185,10 @@ if __name__ == "__main__":
185
  gr.Number(label="v", value=1000),
186
  ],
187
  outputs=[
188
- gr.Textbox(label=_L("ηŠΆζ€ζ "), show_copy_button=True),
189
  gr.Markdown(
190
  value=_L("#### θ―ζ˜Žη»“ζžœ"),
191
- show_copy_button=True,
192
  container=True,
193
  min_height=122,
194
  ),
@@ -206,10 +206,10 @@ if __name__ == "__main__":
206
  gr.Number(label="q", value=1),
207
  ],
208
  outputs=[
209
- gr.Textbox(label=_L("ηŠΆζ€ζ "), show_copy_button=True),
210
  gr.Markdown(
211
  value=_L("#### θ―ζ˜Žη»“ζžœ"),
212
- show_copy_button=True,
213
  container=True,
214
  min_height=122,
215
  ),
@@ -218,4 +218,4 @@ if __name__ == "__main__":
218
  flagging_mode="never",
219
  )
220
 
221
- demo.launch()
 
143
  gr.Number(label="q", value=100),
144
  ],
145
  outputs=[
146
+ gr.Textbox(label=_L("ηŠΆζ€ζ "), buttons=["copy"]),
147
  gr.Markdown(
148
  value=_L("#### θ―ζ˜Žη»“ζžœ"),
149
+ buttons=["copy"],
150
  container=True,
151
  min_height=122,
152
  ),
 
163
  gr.Number(label="q", value=1000),
164
  ],
165
  outputs=[
166
+ gr.Textbox(label=_L("ηŠΆζ€ζ "), buttons=["copy"]),
167
  gr.Markdown(
168
  value=_L("#### θ―ζ˜Žη»“ζžœ"),
169
+ buttons=["copy"],
170
  container=True,
171
  min_height=122,
172
  ),
 
185
  gr.Number(label="v", value=1000),
186
  ],
187
  outputs=[
188
+ gr.Textbox(label=_L("ηŠΆζ€ζ "), buttons=["copy"]),
189
  gr.Markdown(
190
  value=_L("#### θ―ζ˜Žη»“ζžœ"),
191
+ buttons=["copy"],
192
  container=True,
193
  min_height=122,
194
  ),
 
206
  gr.Number(label="q", value=1),
207
  ],
208
  outputs=[
209
+ gr.Textbox(label=_L("ηŠΆζ€ζ "), buttons=["copy"]),
210
  gr.Markdown(
211
  value=_L("#### θ―ζ˜Žη»“ζžœ"),
212
+ buttons=["copy"],
213
  container=True,
214
  min_height=122,
215
  ),
 
218
  flagging_mode="never",
219
  )
220
 
221
+ demo.launch(css="#gradio-share-link-button-0 { display: none; }")
requirements.txt CHANGED
@@ -1,3 +1,3 @@
1
- sympy~=1.12
2
  pywebview~=5.3.2
 
3
  ttkbootstrap~=1.10.1
 
 
1
  pywebview~=5.3.2
2
+ sympy~=1.12
3
  ttkbootstrap~=1.10.1