FDSRashid commited on
Commit
498e7f1
·
1 Parent(s): cbe3bb1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,11 +1,11 @@
1
  from camel_tools.utils.charmap import CharMapper
2
  import os
3
  import gradio as gr
4
- from huggingface_hub import login
5
  ar2bw = CharMapper.builtin_mapper('ar2bw')
6
  bw2ar = CharMapper.builtin_mapper('bw2ar')
7
  Secret_token = os.getenv('token')
8
- login(token = Secret_token)
9
  title = """# Transliterate using BuckWater Scheme"""
10
  description = """
11
  This app converts transliterated arabic text to Arabic using BuckWater Scheme. Use the following image to familiarize yourself with the conversion system.
 
1
  from camel_tools.utils.charmap import CharMapper
2
  import os
3
  import gradio as gr
4
+
5
  ar2bw = CharMapper.builtin_mapper('ar2bw')
6
  bw2ar = CharMapper.builtin_mapper('bw2ar')
7
  Secret_token = os.getenv('token')
8
+
9
  title = """# Transliterate using BuckWater Scheme"""
10
  description = """
11
  This app converts transliterated arabic text to Arabic using BuckWater Scheme. Use the following image to familiarize yourself with the conversion system.