Re: how to recognize the voice using speech recognition in django

2019-02-25 Thread senthu nithy
Thank you Tin Le for your interesting.  Thank you Jason for your valuable
advice.
K.Senthuja
Undergraduate Student (UOJ),
https://www.linkedin.com/in/senthuja/
https://medium.com/@senthujakarunanithy


On Sun, Feb 24, 2019 at 7:41 PM Jason  wrote:

> I'm really unsure django is the right thing for this, because it is a WEB
> framework.  Meaning its for the construction and development of high
> quality web applications.
>
> You could definitely do a speech recognition addin to django, but if you
> don't need the browser interface or server deployment, I'd suggest you look
> at writing a python command line program instead  .In order to get this
> working with django, you would need to have a browser side interface to
> capture the audio and send it to django via ajax, and then have the server
> process the audio and return a response in which the browser renders.  That
> requires you to use two languages at minimum, and from what it sounds like,
> you are not familiar with django at all.  That's a substantial learning
> curve to tackle in a month, let aside designing, implementing and packaging
> a research project.
>
> If I were you, I'd just make a command line program with python and have
> it execute directly on the machine being used.  No need for Django or web
> frameworks for this, and the smaller scope means you'll probably make the
> deadline without a great deal of additional stress.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/eb658ada-c678-4a7b-bebb-1c7b3b24579f%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALEaTU6NHQsB%2Bz_Vp-RLUbna9NV_Yveq%2B%3DjB9QXJ8%2Bmz4ukH%3DA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


how to recognize the voice using speech recognition in django

2019-02-23 Thread senthu nithy
Hi all,
Currently, I am doing my research work on speech recognition using Django.
I have only one month to submit my research work.  Recognize the word is a
part of my research work. I don't know how to write the code part in Django.

import speech_recognition as sr

# get audio from the microphone
r = sr.Recognizer()
with sr.Microphone() as source:
 print(“Speak:”)
 audio = r.listen(source)

try:
 print(“You said “ + r.recognize_google(audio))
except sr.UnknownValueError:
 print(“Could not understand audio”)
except sr.RequestError as e:
 print(“Could not request results; {0}”.format(e))


K.Senthuja
Undergraduate Student (UOJ),
https://www.linkedin.com/in/senthuja/
https://medium.com/@senthujakarunanithy

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALEaTU7LkdoiwFa3Pcx253G%2BKm2T2UbamsO1aFB5UN%3Drq3VnGw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


ModuleNotFoundError: No module named 'api'

2019-02-16 Thread senthu nithy
The error is
Unhandled exception in thread started by .wrapper at 0x021434177B70>
Traceback (most recent call last):
  File "C:\Users\RAAM
COMPUTERS\AppData\Local\Programs\Python\Python37\lib\site-packages\django\utils\autoreload.py",
line 225, in wrapper
fn(*args, **kwargs)
  File "C:\Users\RAAM
COMPUTERS\AppData\Local\Programs\Python\Python37\lib\site-packages\django\core\management\commands\runserver.py",
line 109, in inner_run
autoreload.raise_last_exception()
  File "C:\Users\RAAM
COMPUTERS\AppData\Local\Programs\Python\Python37\lib\site-packages\django\utils\autoreload.py",
line 248, in raise_last_exception
raise _exception[1]
  File "C:\Users\RAAM
COMPUTERS\AppData\Local\Programs\Python\Python37\lib\site-packages\django\core\management\__init__.py",
line 337, in execute
autoreload.check_errors(django.setup)()
  File "C:\Users\RAAM
COMPUTERS\AppData\Local\Programs\Python\Python37\lib\site-packages\django\utils\autoreload.py",
line 225, in wrapper
fn(*args, **kwargs)
  File "C:\Users\RAAM
COMPUTERS\AppData\Local\Programs\Python\Python37\lib\site-packages\django\__init__.py",
line 24, in setup
apps.populate(settings.INSTALLED_APPS)
  File "C:\Users\RAAM
COMPUTERS\AppData\Local\Programs\Python\Python37\lib\site-packages\django\apps\registry.py",
line 89, in populate
app_config = AppConfig.create(entry)
  File "C:\Users\RAAM
COMPUTERS\AppData\Local\Programs\Python\Python37\lib\site-packages\django\apps\config.py",
line 90, in create
module = import_module(entry)
  File "C:\Users\RAAM
COMPUTERS\AppData\Local\Programs\Python\Python37\lib\importlib\__init__.py",
line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
  File "", line 1006, in _gcd_import
  File "", line 983, in _find_and_load
  File "", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'api'

K.Senthuja
Undergraduate Student (UOJ),
https://www.linkedin.com/in/senthuja/
https://medium.com/@senthujakarunanithy

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALEaTU7rg-_bgeBQzADiOTxyO7rwGp_pLsk68gSE8nOwzWYW7A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Social media apps in Django

2019-02-05 Thread senthu nithy
I wish to develop a social media like facebook using Django. Is there are
any documents to develop this kind of social media development
K.Senthuja
Undergraduate Student (UOJ),
https://www.linkedin.com/in/senthuja/
https://medium.com/@senthujakarunanithy

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALEaTU7gQVih%3D8jLQfb0LuGU8_YxN7VQTDOKn6882tz6XZ_uLw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: TemplateDoesNotExist at /vmail/inbox/

2019-02-05 Thread senthu nithy
Get i,Thank you!
K.Senthuja
Undergraduate Student (UOJ),
https://www.linkedin.com/in/senthuja/
https://medium.com/@senthujakarunanithy


On Tue, Feb 5, 2019 at 8:53 AM Alex Kimeu  wrote:

> It means the template you are trying to render is either not created or
> not in the location where Django expects to be. Django does not see the
> template you are trying to render.
>
> On Tue, 5 Feb 2019, 04:28 senthu nithy 
>> I am doing a project using Django. I got this error. I don't understand
>> what this error really means.
>> Thanks in advance!
>> K.Senthuja
>> Undergraduate Student (UOJ),
>> https://www.linkedin.com/in/senthuja/
>> https://medium.com/@senthujakarunanithy
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CALEaTU5PQaiOuekpgJS7B6gQkZeQEz-x8--RMmLvC9mjJDnFNw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CALEaTU5PQaiOuekpgJS7B6gQkZeQEz-x8--RMmLvC9mjJDnFNw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CACYP3VHVfVCm7LHqt7x6bNN78%2BwjXnVaC4YQEzaXxQygwz1HFg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CACYP3VHVfVCm7LHqt7x6bNN78%2BwjXnVaC4YQEzaXxQygwz1HFg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALEaTU57SpT6561P5obA%2BnOr5_6cRKNFXsP_CuAHesXotppFbw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: User profile

2019-01-17 Thread senthu nithy
Thank you ANi and Alex. I will refer both links
K.Senthuja
Undergraduate Student (UOJ),
https://www.linkedin.com/in/senthuja/
https://medium.com/@senthujakarunanithy


On Thu, Jan 17, 2019 at 8:41 PM Alex Kimeu  wrote:

> First you need to create a model for the User Profile.
>
> On Thu, 17 Jan 2019, 17:49 ANi 
>> Do you mean you want to create your custom user model?
>> Two ways to do it,
>> 1. create a profile model and use foreign key to the user model that
>> Django provided.
>> 2. create a custom user model like this
>> https://wsvincent.com/django-custom-user-model-tutorial/
>>
>>
>> senthu nithy於 2019年1月17日星期四 UTC+8下午8時47分41秒寫道:
>>>
>>> I am new Django framework. I want to create a user profile for my app.
>>> But i start to create the user profile then i direct to create Admin
>>> profile which is already created in Django. I want to create a user
>>> Profile. Can you direct me?
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/94a197bc-1440-43cf-9af7-0c31da09cf4b%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/94a197bc-1440-43cf-9af7-0c31da09cf4b%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CACYP3VG4PsTMPd7Sj0LGkbqNUdU135K2D9Ven-VXV91vMiJhTw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CACYP3VG4PsTMPd7Sj0LGkbqNUdU135K2D9Ven-VXV91vMiJhTw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALEaTU6EfXskkuD%3Dfn3_on83kx0V%3D1qXaeQ7sQk9kVYheibJ4w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


User profile

2019-01-17 Thread senthu nithy
I am new Django framework. I want to create a user profile for my app. But 
i start to create the user profile then i direct to create Admin profile 
which is already created in Django. I want to create a user Profile. Can 
you direct me?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b6f306f9-0124-4a73-80e5-3c89e29d2240%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.